RFR(xs): 8203960: [TESTBUG] runtime/logging/DefaultMethodsTest.java failed when running in CDS mode
ioi.lam at oracle.com
Thu May 31 04:03:18 UTC 2018
Instead of relying on an internal JDK class to have default method
processing, maybe InnerClass should contain some code to ensure that
default method processing will always happen?
On 5/30/18 8:58 PM, Calvin Cheung wrote:
> 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.
More information about the hotspot-runtime-dev