JDK-8155401 : Move from ALL-SYSTEM to ALL-DEFAULT
  • Type: Enhancement
  • Component: deploy
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-04-27
  • Updated: 2017-05-19
  • Resolved: 2016-08-22
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 9
9 b135Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Relates :  
Description
JEP 261 was updated recently to define the policy for root modules to resolve when the main class is in an unnamed module. TL;DR is that java.corba and the EE modules will not be resolved by default.

We'll need to align the deploy code with this policy once the changes are in JDK 9. The changes will be brought into jdk9/dev soon via JDK-8154956.

There are two things that are requires in the deploy code:

1. Replace usages of ALL-SYSTEM with ALL-DEFAULT.

2. Allow the -addmods option to be be specified in java-vm-args so that JNLP applications can add the EE modules as roots when needed.

Comments
Blocked by JDK-8160727, we need applications to be able to pass --add-modules to the JRE before we can implement this
07-07-2016

I split the --add-modules portion to a separate issue. That one might encompass adding support for all modular arguments using the new GNU style args.
01-07-2016

JDK-8152218 will also examine the consistency of the option separator. Perhaps we should consider to separate the part of moving from ALL-SYSTEM to ALL-DEFAULT that is independent of the options.
10-06-2016

Blocked by JDK-8136930 as we need the system property for addmods to be finalized before we can file the CCC and implement the feature.
05-05-2016

We will need to wait until the system property is finalized before implementing this.
04-05-2016

For -Djdk.launcer.addmods=M is the same as `-addmods M` but I expect this property will be renamed as some of some TBD to work out details for custom launchers.
04-05-2016