JDK-8026957 : test tools/javac/lambdaShapes/org/openjdk/tests/vm/DefaultMethodsTest.java is failing after spec changes
Type:Bug
Component:tools
Sub-Component:javac
Affected Version:8
Priority:P3
Status:Resolved
Resolution:Duplicate
Submitted:2013-10-21
Updated:2013-10-23
Resolved:2013-10-23
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This test is failing after spec changes. The test was expecting a java.lang.AbstractMethodError but a java.lang.IncompatibleClassChangeError is being thrown now. This test and the one in the lambda repo should be modified.
Comments
Closed as duplicate of JDK-8026742
23-10-2013
This test is a clone of the test on JDK that is failing in the same way and is assigned to me.
23-10-2013
Out of the 6 subtests that are failing, 3 of them expect a java.lang.IncompatibleClassChangeError instead of the original java.lang.AbstractMethodError and has been fixed. However, for the other three subtests, the test is expecting that an Exception should be thrown.
3 subtests are:
- testSuperConflict()
- testSuperDisqual()
- testSuperGenericDisqual()
It looks like another bug in implementation. Email sent to Robert for more information.
Changeset that may have caused this test failure: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/1ce8405af5fe