RFR[XS] 8191747 [TESTBUG] runtime/appcds/DumpClassList.java and ProhibitedPackage.java fail on product bits

Jiangli Zhou jiangli.zhou at oracle.com
Tue Nov 28 18:19:09 UTC 2017


Hi Ioi,

For the following check at line 72 in ProhibitedPackage.java, can you include more complete logging output "[info][class,load] java.lang.Prohibited”? So other output message for java.lang.Prohibited would not be mistakenly matched for this check. No new webrev needed for me with the shouldNotContain() content change.

.shouldNotContain("java.lang.Prohibited")
I noticed you didn't have the tests mentioned in the email. Could you please list the tests that you run?

Thanks,
Jiangli

> On Nov 28, 2017, at 9:58 AM, Ioi Lam <ioi.lam at oracle.com> wrote:
> 
> Hi,
> 
> Here's a fix for these two tests failing in product builds. The fix is to replace the use of debug flag PrintSystemDictionaryAtExit flag with -Xlog:class+load, which is available in product builds:
> 
> https://bugs.openjdk.java.net/browse/JDK-8191747
> http://cr.openjdk.java.net/~iklam/jdk10/8191747-avoid-PrintSystemDictionaryAtExit-in-tests.v01/
> 
> Thanks
> - Ioi
> 



More information about the hotspot-runtime-dev mailing list