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

Spurious javac failure during build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • tbd
    • 16
    • tools

      [2020-10-27T04:32:19,395Z] /opt/mach5/mesos/work_dir/slaves/47535081-0322-4d83-bb78-f7e11abb86d0-S27708/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5394e959-ff1f-491f-9083-70e12db6f12d/runs/29957915-ce19-4d4f-a2d6-f78b18356cc8/workspace/open/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java:2097: error: incompatible types: inference variable K#1 has incompatible equality constraints V#2,K#2
      [2020-10-27T04:32:19,395Z] setTabAt(tab, i, untreeify(t.first));
      [2020-10-27T04:32:19,395Z] ^
      [2020-10-27T04:32:19,395Z] where K#1,V#1,V#2,K#2 are type-variables:
      [2020-10-27T04:32:19,395Z] K#1 extends Object declared in method <K#1,V#1>untreeify(Node<K#1,V#1>)
      [2020-10-27T04:32:19,395Z] V#1 extends Object declared in method <K#1,V#1>untreeify(Node<K#1,V#1>)
      [2020-10-27T04:32:19,395Z] V#2 extends Object declared in class ConcurrentHashMap
      [2020-10-27T04:32:19,404Z] K#2 extends Object declared in class ConcurrentHashMap
      [2020-10-27T04:32:19,404Z] 1 error

      But ConcurrentHashMap has not been modified in nearly a year!

      Could this be a spurious error?

            jfranck Joel Borggrén-Franck (Inactive)
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: