hg: jdk9/dev/jdk: 8163162: The separation between system loggers and application loggers should take the extension loader in consideration.

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Fri Oct 28 11:13:29 UTC 2016


Changeset: 9a3a5bc38432
Author:    dfuchs
Date:      2016-10-28 12:10 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/9a3a5bc38432

8163162: The separation between system loggers and application loggers should take the extension loader in consideration.
Summary: DefaultLoggerFinder.isSystem is changed to return 'true' for classes loaded from the platform loader and its ancestors. This means that classes loaded by the platform loader will get exactly the same kind of loggers than classes loaded by the boot (null) loader.
Reviewed-by: rriggs, mchung

! src/java.base/share/classes/jdk/internal/logger/DefaultLoggerFinder.java
+ test/java/lang/System/LoggerFinder/internal/SystemLoggerInPlatformLoader/SystemLoggerInPlatformLoader.java
+ test/java/lang/System/LoggerFinder/internal/SystemLoggerInPlatformLoader/systempkg/log/SystemLoggerAccessor.java



More information about the jdk9-dev-changes mailing list