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

Build fails intermittently with incompatible equality constraints

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: 12, 13
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      src/java.base/share/classes/jdk/internal/jrtfs/ExplodedImage.java:62: error: incompatible types: inference variable V#1 has incompatible equality constraints String,ExplodedImage.PathNode,K#1,K#2,V#2
           private final Map<String, PathNode> nodes = Collections.synchronizedMap(new HashMap<>());
                                                                                  ^
         where V#1,K#1,K#2,V#2 are type-variables:
           V#1 extends Object declared in method <K#1,V#1>synchronizedMap(Map<K#1,V#1>)
           K#1 extends Object declared in method <K#1,V#1>synchronizedMap(Map<K#1,V#1>)
           K#2 extends Object declared in class HashMap
           V#2 extends Object declared in class HashMap
       1 error

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vromero Vicente Arturo Romero Zaldivar
                Reporter:
                mikael Mikael Vidstedt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: