Hi Daniel, This looks good. Surprisingly no one reports this long standing bug.
thanks Mandy On 5/22/20 2:33 AM, Daniel Fuchs wrote:
Hi, Please find below a fix for: 8239013: java.util.logging.Logger catalog cache keeps strong references to ResourceBundles https://bugs.openjdk.java.net/browse/JDK-8239013 webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8239013/webrev.00/ java.util.logging.Logger has a `catalog` variable that acts as a cache and holds a reference to the last resource bundle that was loaded by the logger. This fix replaces the strong reference with a weak reference, allowing the cached object to be garbage collected even in cases where a strong reference to the logger remains. best regards, -- daniel