Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove java.lang.Compiler from Java 21+ #18430

Closed
keithc-ca opened this issue Nov 9, 2023 · 3 comments · Fixed by #18582
Closed

Remove java.lang.Compiler from Java 21+ #18430

keithc-ca opened this issue Nov 9, 2023 · 3 comments · Fixed by #18582
Assignees
Labels

Comments

@keithc-ca
Copy link
Contributor

keithc-ca commented Nov 9, 2023

It was removed upstream via openjdk/jdk@a8e3a2d.

Also the following

core-libs/java.lang
Removal of the java.compiler System Property (JDK-8041676)

The system property java.compiler has been removed from the list of standard system properties.

Running with this system property set on the command line will now print a warning to say that the system property is obsolete; it has no other effect. In previous releases, running with -Djava.compiler or -Djava.compiler=NONE on the command line selected interpreter only execution mode. If needed, the -Xint option can be used to run in interpreter only mode.

@keithc-ca keithc-ca added the jdk21 label Nov 9, 2023
@keithc-ca keithc-ca self-assigned this Nov 9, 2023
@pshipton
Copy link
Member

pshipton commented Nov 9, 2023

Did you mean 22+, why do you expect jdk21 to change? Since it's GAed it would be weird to remove something from the spec now.

@keithc-ca
Copy link
Contributor Author

You'll notice the commit I referenced is from April. The change is included in jdk21-ga (you won't see Compiler.java in https://github.com/openjdk/jdk/tree/jdk-21-ga/src/java.base/share/classes/java/lang).

@keithc-ca
Copy link
Contributor Author

We agreed to keep this open; see #18571 (comment).

@keithc-ca keithc-ca reopened this Dec 6, 2023
keithc-ca added a commit to keithc-ca/openj9 that referenced this issue Dec 7, 2023
Fixes: eclipse-openj9#18430

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
keithc-ca added a commit to keithc-ca/openj9 that referenced this issue Dec 7, 2023
Fixes: eclipse-openj9#18430

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
pshipton added a commit to pshipton/openj9 that referenced this issue Dec 8, 2023
Issue eclipse-openj9#18430

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
pshipton added a commit to pshipton/openj9 that referenced this issue Dec 8, 2023
Issue eclipse-openj9#18430

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
pshipton added a commit to pshipton/openj9 that referenced this issue Dec 8, 2023
Issue eclipse-openj9#18430

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants