Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Is the apiMode property (com.sun.tools.javac.main.Main) of the java compiler redundant?

user-jfuf9Mar 5 2023

There is no place to change the value of the apiMode property except in com.sun.tools.javac.main.Main。Should there be such a method?public void setAPIMode(boolean apiMode) {
this.apiMode = apiMode;}。If the method is removed, should this property be meaningless?

Comments
Post Details
Added on Mar 5 2023
0 comments
125 views