RFR JDK-8196748,tools/jar tests need to tolerate unrelated warnings

Xueming Shen xueming.shen at oracle.com
Fri Mar 9 22:34:37 UTC 2018


Hi,

Please help codereview the change for JDK-8196748.

Issue: https://bugs.openjdk.java.net/browse/JDK-8196748
webrev: http://cr.openjdk.java.net/~sherman/8196748/webrev

Those tests are based on parsing the std in/err of the jar command. It 
appears
the "best wau" for now is to hardcode the filter to filter out the 
specific jvm warning
msg case by case.

Verified with the warning msg turned on as
http://cr.openjdk.java.net/~sherman/8196748/webrev.hs/src/hotspot/share/runtime/arguments.cpp.sdiff.html
and ran the jtreg with -XX:+FastTLABRefill.

btw: tools/jar/LeadingGarbage.java is not failing in 11, so it is not 
touched.

Thanks,
Sherman


More information about the core-libs-dev mailing list