JDK-8049374 : Update javac to work with modular image
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-05
  • Updated: 2016-01-06
  • Resolved: 2014-09-19
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-repo-jigsawFixed
Description
This task tracks updating javac to work with a modular image.

Today, then javac uses the value of the sun.boot.class.path and java.ext.dirs properties when compiling against the boot and extension directory. This works for directories and JAR files. A solution will be required when the platform classes linked into a special format in the modular image.

Need to have support for replacement command line options to replace bootclasspath options.

Comments
http://hg.openjdk.java.net/jigsaw/m2/langtools/rev/cea62a688175 http://hg.openjdk.java.net/jigsaw/m2/langtools/rev/9df8d61a5765
19-09-2014

Discussed issue with Jon and he agrees to separate the -platform work from the more short term work to get javac working with a modular image.
09-07-2014

This issue was intended to be getting javac working with the new modular image, we also have JDK-8048101 the later task of compiling modules, using modulepath, etc. It's best that you flesh these out as there are clearly many interactions going on here.
06-07-2014