S RFR: 8027304: Lambda: inheriting abstract and default should invoke default, not ICCE
Karen Kinnear
karen.kinnear at oracle.com
Tue Oct 29 19:55:37 PDT 2013
webrev: http://cr.openjdk.java.net/~acorn/8027304/webrev/
bug: http://bugs.openjdk.java.net/browse/JDK-8027304
Bug in default method handling due to specification misinterpretation if there is one maximally-specific default method,
but no one maximally specific method based on default method inheritance rules.
Inheritiing abstract and default should invoke default, rather than IncompatibleClassChangeError.
Tested:
Fixed vm defmeth ConflictingDefaultsTest testAmbiguousReabstract (renamed to testMaximallySpecificDefault)
jdk DefaultMethodsTest, FDSeparateCompilationTest
jck lang, vm
jtreg java.util, java.lang
vm.quick.testlist
thanks,
Karen
More information about the hotspot-runtime-dev
mailing list