< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java

Print this page




 155 
 156     /** All modules that export an API are roots when compiling code in the unnamed
 157      *  module and targeting 11 or newer.
 158      */
 159     public boolean allApiModulesAreRoots() {
 160         return compareTo(JDK1_11) >= 0;
 161     }
 162 
 163     /** Does the target VM support nestmate access?
 164      */
 165     public boolean hasNestmateAccess() {
 166         return compareTo(JDK1_11) >= 0;
 167     }
 168 
 169     /** Does the target VM support virtual private invocations?
 170      */
 171     public boolean hasVirtualPrivateInvoke() {
 172         return compareTo(JDK1_11) >= 0;
 173     }
 174 





 175 }


 155 
 156     /** All modules that export an API are roots when compiling code in the unnamed
 157      *  module and targeting 11 or newer.
 158      */
 159     public boolean allApiModulesAreRoots() {
 160         return compareTo(JDK1_11) >= 0;
 161     }
 162 
 163     /** Does the target VM support nestmate access?
 164      */
 165     public boolean hasNestmateAccess() {
 166         return compareTo(JDK1_11) >= 0;
 167     }
 168 
 169     /** Does the target VM support virtual private invocations?
 170      */
 171     public boolean hasVirtualPrivateInvoke() {
 172         return compareTo(JDK1_11) >= 0;
 173     }
 174 
 175     /** Does the target VM support sealed types
 176      */
 177     public boolean hasSealedTypes() {
 178         return compareTo(JDK1_12) >= 0;
 179     }
 180 }
< prev index next >