RFR: 8205129: Remove java.lang.Compiler

Eirik Bjorsnos duke at openjdk.org
Wed Mar 29 09:06:50 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.

The CSR for this PR has now been approved.

@jddarcy comments in the CSR:

> Per comments in the PR, please link to any follow-up bugs to remove java.compiler support.

My guess is the "comment" here refers to @AlanBateman comment above that it would be good to handle the removal of -Djava.compiler in the same release:

> I think it would be good to remove "java.compiler" from the list of standard properties (table in System.getProperties) in the same release.

I have linked to [JDK-8041676](https://bugs.openjdk.org/browse/JDK-8041676), even though that issue strictly describes the deprecation of -Djava.compiler, not the removal.

I think what I'm trying to express here is that it's ok to refer to  [JDK-8041676](https://bugs.openjdk.org/browse/JDK-8041676) for the task that deals with the `java.compiler` system property. And that we should take care of [JDK-8041676](https://bugs.openjdk.org/browse/JDK-8041676) in the same release as this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/13092#issuecomment-1488208464


More information about the core-libs-dev mailing list