Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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
403 views