RFR: JDK-8212006: javac --release 8 should allow -endorseddirs and -extdirs to be specified
jan.lahoda at oracle.com
Mon Nov 19 16:12:41 UTC 2018
The issue here is that -endorseddirs (and -extdirs) is disallowed when
--release 8 is specified. When there is a user-provided file manager,
the option handling is more complicated, as currently, at the time we
are processing the file manager options, it is not yet clear with
--release is specified, and if -endorseddirs should be passed to the
file manager that handles the platform classes for --release (or if
--endorseddirs is even a valid option). So the idea is to do a pass
through the options, looking for --release, install the --release file
manager if needed, and then actually process the options, passing them
to the appropriate file manager(s).
How does this look?
More information about the compiler-dev