[7u60] request approval to backport 8029281: Synchronization issues in Logger and LogManager

Daniel Fuchs daniel.fuchs at oracle.com
Wed Jan 22 03:57:56 PST 2014


Hi,

This is a request to backport

[1] 8029281: Synchronization issues in Logger and LogManager

from jdk8 to 7u60, as well as to backport a companion
changeset (test only) which contains a better test:

[2] 8031980: Add new j.u.l deadlock test for JDK-8027670
              and JDK-8029281

from jdk8u-dev to 7u60.


[1] 8029281: Synchronization issues in Logger and LogManager
--------------------------------------------------------

Bug url:
https://bugs.openjdk.java.net/browse/JDK-8029281

JDK 8 changeset:
http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/9f624e115c6b

JDK 8 Review:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-November/023610.html
http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-December/023678.html

JDK 7 webrev:
http://cr.openjdk.java.net/~dfuchs/webrev_8029281-jdk7/webrev.00/

The JDK 7 changeset is globally identical to JDK 8 except for the
following slight alteration:

   - LogManager changes are the same
   - Logger changes are much simpler (new API in 8 made for more
         code to fix)
   - TestLoggerBundleSync.java uses Logger.getLogger(name, rbName)
     to set the resource bundle instead of Logger.setResourceBundle
     (which was new in 8). Calls to ResourceBundle.getBaseBundleName
     have been replaced by rb.getClass().getName() - which in the
     context of this test returns the same thing.



[2] 8031980: Add new j.u.l deadlock test for JDK-8027670 and
              JDK-8029281
--------------------------------------------------------------------

This is a straight import from jdk8u. This test was a great help
in validating the backport.

Bug url:
https://bugs.openjdk.java.net/browse/JDK-8031980

JDK 8 changeset:
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/2d011f2ffb29

JDK 9 review:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-January/024516.html


best regards,

-- daniel



More information about the jdk7u-dev mailing list