Hi Mandy, Kim,
On 04/17/2017 10:53 PM, Mandy Chung wrote:
On Apr 17, 2017, at 1:47 PM, Kim Barrett <kim.barr...@oracle.com> wrote:
Please review this fix for a bug in JDK-8175797: the mechanism
provided by that change for reverting to the old behavior of
Reference.enqueue (for backward compatibility) does not work.
Also fixed the ReferenceEnqueue test changes also made as part of
JDK-8175797. That test would havecaught the problem with the property
but for bugs in the test.
CR:
https://bugs.openjdk.java.net/browse/JDK-8178832
Webrev:
http://cr.openjdk.java.net/~kbarrett/8178832/jdk00/
Looks good. Thanks for catching this and the typo in the test.
Mandy
I wonder if there are (or will be) other places where such silent
swallowing of run-time exceptions happens or will happen. Wouldn't it be
good to "fix" Boolean.getBoolean() and friends?
I filed the following bug to track this:
https://bugs.openjdk.java.net/browse/JDK-8178966
Regards, Peter