< prev index next >

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

Print this page

194     /** language runtime uses nest-based access.
195      *  e.g. lambda and string concat spin dynamic proxy class as a nestmate
196      *  of the target class
197      */
198     public boolean runtimeUseNestAccess() {
199         return compareTo(JDK1_15) >= 0;
200     }
201 
202     /** Does the target VM support virtual private invocations?
203      */
204     public boolean hasVirtualPrivateInvoke() {
205         return compareTo(JDK1_11) >= 0;
206     }
207 
208     /** Does the target VM support sealed types
209      */
210     public boolean hasSealedClasses() {
211         return compareTo(JDK1_15) >= 0;
212     }
213 






214     /** Is the ACC_STRICT bit redundant and obsolete
215      */
216     public boolean obsoleteAccStrict() {
217         return compareTo(JDK1_17) >= 0;
218     }
219 
220     /** Omit unused enclosing instance fields from inner classes that don't access enclosing
221      * instance state.
222      */
223     public boolean optimizeOuterThis() {
224         return compareTo(JDK1_18) >= 0;
225     }
226 }

194     /** language runtime uses nest-based access.
195      *  e.g. lambda and string concat spin dynamic proxy class as a nestmate
196      *  of the target class
197      */
198     public boolean runtimeUseNestAccess() {
199         return compareTo(JDK1_15) >= 0;
200     }
201 
202     /** Does the target VM support virtual private invocations?
203      */
204     public boolean hasVirtualPrivateInvoke() {
205         return compareTo(JDK1_11) >= 0;
206     }
207 
208     /** Does the target VM support sealed types
209      */
210     public boolean hasSealedClasses() {
211         return compareTo(JDK1_15) >= 0;
212     }
213 
214     /** Does the target VM support value classes
215      */
216     public boolean hasValueClasses() {
217         return compareTo(JDK1_19) >= 0;
218     }
219 
220     /** Is the ACC_STRICT bit redundant and obsolete
221      */
222     public boolean obsoleteAccStrict() {
223         return compareTo(JDK1_17) >= 0;
224     }
225 
226     /** Omit unused enclosing instance fields from inner classes that don't access enclosing
227      * instance state.
228      */
229     public boolean optimizeOuterThis() {
230         return compareTo(JDK1_18) >= 0;
231     }
232 }
< prev index next >