RFR(xs): 8203960: [TESTBUG] runtime/logging/DefaultMethodsTest.java failed when running in CDS mode

Calvin Cheung calvin.cheung at oracle.com
Thu May 31 03:58:48 UTC 2018


JBS: https://bugs.openjdk.java.net/browse/JDK-8203960

webrev: http://cr.openjdk.java.net/~ccheung/8203960/webrev.00/

If this test is run in CDS mode, most of the system classes will be in 
the CDS archive and loading of those classes from the archive will 
bypass the default method processing. The test fails in CDS mode since 
it expects the trace output from default method processing.
A fix is to load an additional class which isn't in any of the modules 
defined by default. The loading of the additional class will trigger 
default method processing.

Ran the test with and without CDS.
I will do a sanity hs-tier1 and hs-tier2 testing run.

thanks,
Calvin


More information about the hotspot-runtime-dev mailing list