Bug 534714 - Batch compiler does not handle --upgrade-module-path option
Summary: Batch compiler does not handle --upgrade-module-path option
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.8   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-15 12:57 EDT by Ryan Ulch CLA
Modified: 2023-02-28 16:09 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Ulch CLA 2018-05-15 12:57:04 EDT
The batch compiler does not currently handle this option.

$ rg "upgrade-module-path"
org.eclipse.jdt.compiler.tool/src/org/eclipse/jdt/internal/compiler/tool/EclipseFileManager.java
671:				case "--upgrade-module-path": //$NON-NLS-1$

org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
2762:				// --system and --upgrade-module-path

org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/EclipseFileManager.java
671:				case "--upgrade-module-path": //$NON-NLS-1$

I don't see it in the option processing for the batch compiler, and it doesn't accept the option when provided either. It fails with the following message:

Unrecognized option: --upgrade-module-path

Please see bug 498044 comment 7 for more details.
Comment 1 Eclipse Genie CLA 2021-01-14 13:00:19 EST
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.

If you have further information on the current state of the bug, please add it. 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.
Comment 2 Eclipse Genie CLA 2023-02-28 16:09:17 EST
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.

If you have further information on the current state of the bug, please add it. 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.