-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
8, 12, 13
-
x86_64
-
os_x
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
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
- duplicates
-
JDK-8255430 Spurious javac failure during build
-
- Closed
-
-
JDK-8255430 Spurious javac failure during build
-
- Closed
-
- relates to
-
JDK-8288590 javac failure: incompatible types: cannot infer type arguments due to Object.hashCode collision
-
- Resolved
-
-
JDK-8255430 Spurious javac failure during build
-
- Closed
-
-
JDK-8200265 Intermittent build error in java.util.stream.Collectors - inference variable has incompatible bounds
-
- Closed
-