209 /** language runtime uses nest-based access.
210 * e.g. lambda and string concat spin dynamic proxy class as a nestmate
211 * of the target class
212 */
213 public boolean runtimeUseNestAccess() {
214 return compareTo(JDK1_15) >= 0;
215 }
216
217 /** Does the target VM support virtual private invocations?
218 */
219 public boolean hasVirtualPrivateInvoke() {
220 return compareTo(JDK1_11) >= 0;
221 }
222
223 /** Does the target VM support sealed types
224 */
225 public boolean hasSealedClasses() {
226 return compareTo(JDK1_15) >= 0;
227 }
228
229 /** Is the ACC_STRICT bit redundant and obsolete
230 */
231 public boolean obsoleteAccStrict() {
232 return compareTo(JDK1_17) >= 0;
233 }
234
235 /** Omit unused enclosing instance fields from inner classes that don't access enclosing
236 * instance state.
237 */
238 public boolean optimizeOuterThis() {
239 return compareTo(JDK1_18) >= 0;
240 }
241
242 /** Releases prior to JDK 23 expect a less precise SwitchBootstraps.typeSwitch signature on the selectorType
243 */
244 public boolean usesReferenceOnlySelectorTypes() {
245 return compareTo(Target.JDK1_23) < 0;
246 }
247
248 /**
|
209 /** language runtime uses nest-based access.
210 * e.g. lambda and string concat spin dynamic proxy class as a nestmate
211 * of the target class
212 */
213 public boolean runtimeUseNestAccess() {
214 return compareTo(JDK1_15) >= 0;
215 }
216
217 /** Does the target VM support virtual private invocations?
218 */
219 public boolean hasVirtualPrivateInvoke() {
220 return compareTo(JDK1_11) >= 0;
221 }
222
223 /** Does the target VM support sealed types
224 */
225 public boolean hasSealedClasses() {
226 return compareTo(JDK1_15) >= 0;
227 }
228
229 /** Does the target VM support value classes
230 */
231 public boolean hasValueClasses() {
232 return compareTo(JDK1_23) >= 0;
233 }
234
235 /** Is the ACC_STRICT bit redundant and obsolete
236 */
237 public boolean obsoleteAccStrict() {
238 return compareTo(JDK1_17) >= 0;
239 }
240
241 /** Omit unused enclosing instance fields from inner classes that don't access enclosing
242 * instance state.
243 */
244 public boolean optimizeOuterThis() {
245 return compareTo(JDK1_18) >= 0;
246 }
247
248 /** Releases prior to JDK 23 expect a less precise SwitchBootstraps.typeSwitch signature on the selectorType
249 */
250 public boolean usesReferenceOnlySelectorTypes() {
251 return compareTo(Target.JDK1_23) < 0;
252 }
253
254 /**
|