JDK-8236075 : Minor bootstrap improvements
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-12-17
  • Updated: 2020-01-23
  • Resolved: 2020-01-21
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 15
15 b07Fixed
Related Reports
Relates :  
Relates :  
Description
- Remove use of Vector/Hashtable from ClassLoader
- Use Object[] rather than String[] in Module::<init>
- ClassLoader::sys_paths/user_paths can be both safely and lazily created:
  - ensure property is read at bootstrap into StaticProperty
  - parse the property on demand into a static final field of a class loaded on demand
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/8e10404eec8e User: redestad Date: 2020-01-21 12:32:09 +0000
21-01-2020

I think the patch improves robustness of library path initialization (removes interaction with security manager and the result of parsing the path variables are safely published). Will update the open.01 webrev with a few test fixes before RFR.
20-01-2020

I think the changes proposed here are okay but needs several reviewers to check the changes to the initialization of the system and user library paths as many of the changes in this area have lead to problems.
20-01-2020

Patch: http://cr.openjdk.java.net/~redestad/8236075/open.01/
17-01-2020

This partially resolves JDK-8228336 (eliminates potential for race), but does not propose to refactor sys_path into BootLoader
17-12-2019