JDK-8209003 : Consolidate use of empty collections in java.lang.module
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.module
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-06
  • Updated: 2019-12-04
  • Resolved: 2018-08-07
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.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.6Fixed 12 b06Fixed
Related Reports
Relates :  
Description
Since we use Set/Map/List.of extensively in the jlink plugin, we should avoid using Collections.emptySet/-Map/-List elsewhere in the java.lang.module code.
Comments
Fix Request Backporting this patch as a dependency for JDK-8207263 backporting, which can help further improve JDK 11 startup time when the default CDS archive is enabled. Patch applies cleanly to 11u.
14-08-2019