javac, method visitTypeVar() at visitor Types.hashCode generates the same hash code for different type variables

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 8, 9
    • Component/s: tools
    • b85
    • Not verified

        The only field considered at method visitTypeVar() of visitor Types.hashCode is t.tsym. This field is shared by all the type variables cloned from a given one. Thus they all will have the same hashCode provoking a lot of collisions in any hash table storing them.

              Assignee:
              Vicente Arturo Romero Zaldivar
              Reporter:
              Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: