8030192: TESTFAIL: java/util/logging/TestLoggerBundleSync.java failed with NPE

This is a test bug - loggers held in local variables can be arbitrarily gc'ed if that variable is no longer used. The fix makes sure that the loggers won't be arbitrarily gc'ed before the test is complete.

Reviewed-by: mchung
1 file changed