-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b22
Seen once so far, with no change to the test:
/opt/mach5/mesos/work_dir/jib-master/install/jdk-24+20-2292/src.full/open/test/jdk/jdk/classfile/AnnotationTest.java:62: error: incompatible types: inference variable V has incompatible equality constraints Entry<Object,ConstantDesc>,Object
= Map.ofEntries(
^
where V,K are type-variables:
V extends Object declared in method <K,V>ofEntries(Entry<? extends K,? extends V>...)
K extends Object declared in method <K,V>ofEntries(Entry<? extends K,? extends V>...)
Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-24+20-2292/src.full/open/test/jdk/jdk/classfile/AnnotationTest.java uses preview features of Java SE 24.
Note: Recompile with -Xlint:preview for details.
1 error
result: Failed. Compilation failed: Compilation failed
As this seems intermittent and the error message does not seem to show a difference between K and V I'm assigning this to javac team.
/opt/mach5/mesos/work_dir/jib-master/install/jdk-24+20-2292/src.full/open/test/jdk/jdk/classfile/AnnotationTest.java:62: error: incompatible types: inference variable V has incompatible equality constraints Entry<Object,ConstantDesc>,Object
= Map.ofEntries(
^
where V,K are type-variables:
V extends Object declared in method <K,V>ofEntries(Entry<? extends K,? extends V>...)
K extends Object declared in method <K,V>ofEntries(Entry<? extends K,? extends V>...)
Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-24+20-2292/src.full/open/test/jdk/jdk/classfile/AnnotationTest.java uses preview features of Java SE 24.
Note: Recompile with -Xlint:preview for details.
1 error
result: Failed. Compilation failed: Compilation failed
As this seems intermittent and the error message does not seem to show a difference between K and V I'm assigning this to javac team.
- duplicates
-
JDK-8335917 com/sun/tools/javac/comp/Check.java:2880: error: incompatible types
-
- Closed
-
- relates to
-
JDK-8328271 intermittent javac issue: cannot infer type arguments for CollectorImpl<>
-
- Open
-
-
JDK-8335917 com/sun/tools/javac/comp/Check.java:2880: error: incompatible types
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/d1540e2a
-
Review(master) openjdk/jdk/21651