RFR(XS): 8161138: testlibrary_tests/ctw/* failed with "Failed. Unexpected exit from test [exit code: 0]"
tatiana.pivovarova at oracle.com
Fri Jul 29 14:35:39 UTC 2016
On 07/29/2016 04:26 AM, Vladimir Kozlov wrote:
> Seems good.
> On 7/28/16 9:40 AM, Tatiana Pivovarova wrote:
>> Please review this patch
>> Class sun.hotspot.tools.ctw.CompileTheWorld always finished with
>> System.exit(0). This was done to finish all threads spawned by a
>> class loading (for example bug [*] where
>> sun.tools.jconsole.OutputViewer class loading create and start
>> separate threads to listen input)
>> But JTREG help says "Tests are not allowed to call System.exit"
>> because it "would cause the harness itself to exit!"
>> The safest way to avoid hang VM is an excluding such classes, which
>> was done.
>> Tested: rbt.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8161138
>> Webrev: http://cr.openjdk.java.net/~tpivovarova/8161138/webrev.00/
>> [*] https://bugs.openjdk.java.net/browse/JDK-8159155
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev