Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 530434

Summary: [9] Should -extdirs and such be allowed with JRE 9 and --release options?
Product: [Eclipse Project] JDT Reporter: Jay Arthanareeswaran <jarthana>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact: Jay Arthanareeswaran <jarthana>
Severity: normal    
Priority: P3 CC: manoj.palat
Version: 4.7.1a   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Jay Arthanareeswaran CLA 2018-01-29 02:45:42 EST
Mentioned in bug 514471, comment #57:

-------------
I wonder if this is a bug in jdt.apt:
https://github.com/eclipse/eclipse.jdt.core/blame/03d646e77d6fb89bb26bc824837320b63711089e/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/EclipseFileManager.java#L753

it looks to me like "-extdirs" should only be disallowed if used with "--release" according to [3]
--------------


And the documentation for Javac says this about -extdirs and few other options when cross-compiling:

"Not supported when using --release release to compile for JDK 9"

I infer that this means the -extdirs is not supported when using a --release option of "9" or above. Which would imply that for the -extdirs to be allowed,  1) The --release option must be mentioned
2) The --release option specifies a value of <= 8.
Comment 1 Eclipse Genie CLA 2020-03-22 16:39:56 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.