JDK-8170664 : SystemLoggerInPlatformLoader.java failing in case of module limitation
Type:Bug
Component:core-libs
Sub-Component:java.util.logging
Affected Version:9
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2016-12-02
Updated:2016-12-15
Resolved:2016-12-08
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The regression test java/lang/System/LoggerFinder/internal/SystemLoggerInPlatformLoader/SystemLoggerInPlatformLoader.java failis during execution in case we are using command line option --limit-modules java.base.
Comments
Link to the review: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-December/045193.html
09-12-2016
The test has written in assumption that java.util.logging package always present in the system. In case we use module limitation the only single logger SimpleConsoleLogger exists in the system. The test should first check if JUL or some custom logging system has loaded and then if it is true make checks it does.