Please, review the following test change

Issue : https://bugs.openjdk.java.net/browse/JDK-8135188
Webrev: http://cr.openjdk.java.net/~jbachorik/8135188/webrev.00

The problem is described in detail in the issue. This patch follows the recommendation by Dan Daugherty and runs the part where finalization is being requested in a shutdown handler as a separate process. The test then checks the result of this separate process to see whether any errors were reported. In order to simplify the logic of the shutdown handler the failures are reported by simply printing messages into stderr as opposed to throwing 'new Error()'.

The modified test is still passing on all supported platforms.

Thanks,

-JB-

Reply via email to