RFR: 8205129: Remove java.lang.Compiler

Alan Bateman alanb at openjdk.org
Sun Mar 19 14:41:19 UTC 2023


On Sun, 19 Mar 2023 09:01:26 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

> Please help review this PR which suggests we remove the class `java.lang.Compiler`. The class seems non-functional for a decade, and was terminally deprecated in Java 9. Time has come to let it go.

For reference, here's the discussion from 2016 when it was proposed to deprecate j.l.Compiler, for removal. Tim Ellison from IBM engaged in that discussion as one of the replies asked about applications running on the J9 VM using this API.
https://mail.openjdk.org/pipermail/core-libs-dev/2016-September/043365.html

The discussion is also a reminder that -Djava.compiler=NONE is the equivalent of -Xint, I thought that system property was dropped a long time ago.

-------------

PR: https://git.openjdk.org/jdk/pull/13092


More information about the core-libs-dev mailing list