RFR: 8146665: Test jdk/test/java/util/logging/LogManager/Configuration/updateConfiguration/UpdateConfigurationTest.java fails - missing expected output

Mandy Chung mandy.chung at oracle.com
Fri Jan 8 19:51:47 UTC 2016


> On Jan 8, 2016, at 7:36 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> Hi,
> 
> Please find below a tentative fix for:
> 
> 8146665: Test jdk/test/java/util/logging/LogManager/Configuration/updateConfiguration/UpdateConfigurationTest.java fails - missing expected output
> https://bugs.openjdk.java.net/browse/JDK-8146665
> 
> Webrev:
> http://cr.openjdk.java.net/~dfuchs/webrev_8146665/webrev.00/
> 
> The fix increases the numbers of gc performed (which may or may
> not fix the issue), but more importantly fixes the finally { } clause
> of the test(...) method, where a failure in releasing the second
> logger reference may be hiding the original failure.

line 280 adding the suppressed == null check is okay.  Is the additional GC needed?  Are you able to reproduce the failure?

Mandy




More information about the core-libs-dev mailing list