Hi,

Please find below a changeset that will fix:

8019853 - Break logging and AWT circular dependency

(which also duplicates
 8023258 Logger.getLogger() after ImageIO.read() returns
         different logger instance)

<http://cr.openjdk.java.net/~dfuchs/webrev_8019853/webrev.00/>

The new code makes sure that JavaAWTAccess.getAppletContext() returns
null when the LogManager's default userContext should be used, thus
solving 8023258 (Logger.getLogger() after ImageIO.read() returns
different logger instance).
Although LogManager still needs to get the applet context it will no
longer trigger the creation of the 'mainAppContext' - thus breaking
the circular dependency.

best regards,

-- daniel

Reply via email to