Details
-
Bug
-
Resolution: Fixed
-
P3
-
16
-
b26
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8273873 | 11.0.14-oracle | Gauri Patil | P3 | Resolved | Fixed | b01 |
JDK-8274674 | 11.0.14 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8328929 | openjdk8u422 | Zdenek Zambersky | P3 | Resolved | Fixed | b01 |
Description
Here is a representative error:
/Volumes/J2GWork/jdk/jdk.testng7/open/test/jdk/java/util/stream/boottest/java.base/java/util/stream/DoubleNodeTest.java:69: error: reference to assertEquals is ambiguous
assertEquals(array[i], list.get(i));
^
both method assertEquals(Object,Object) in Assert and method assertEquals(double,double) in Assert match
1 error
These tests are affected:
java/util/stream/boottest/java.base/java/util/stream/DoubleNodeTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/FlagOpTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/IntNodeTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/LongNodeTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/NodeBuilderTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/NodeTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/SliceSpliteratorTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/StreamFlagsTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/StreamOpFlagsTest.java Failed. Compilation failed: Compilation failed
java/util/stream/boottest/java.base/java/util/stream/StreamReuseTest.java Failed. Compilation failed: Compilation failed
According to a comparison of java output, these methods were added:
> public static void assertEquals(boolean[], boolean[]);
> public static void assertEquals(char[], char[]);
> public static void assertEquals(double, double);
> public static void assertEquals(double[], double[]);
> public static void assertEquals(float, float);
> public static void assertEquals(float[], float[]);
> public static void assertEquals(int[], int[]);
> public static void assertEquals(long[], long[]);
> public static void assertEquals(short[], short[]);
Attachments
Issue Links
- backported by
-
JDK-8273873 tests fail because of ambiguous method resolution
- Resolved
-
JDK-8274674 tests fail because of ambiguous method resolution
- Resolved
-
JDK-8328929 tests fail because of ambiguous method resolution
- Resolved
- links to
-
Commit openjdk/jdk8u-dev/d23bbdd1
-
Commit openjdk/jdk11u-dev/09ad2c04
-
Commit openjdk/jdk/646c2002
-
Review openjdk/jdk8u-dev/468
-
Review openjdk/jdk11u-dev/452
-
Review openjdk/jdk/1274