Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8138914

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8, 9
    • 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.

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

                Created:
                Updated:
                Resolved: