< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
Print this page
rev 58568 : [mq]: hidden-class-4
*** 167,176 ****
--- 167,184 ----
*/
public boolean hasNestmateAccess() {
return compareTo(JDK1_11) >= 0;
}
+ /** language runtime uses nest-based access.
+ * e.g. lambda and string concat spin dynamic proxy class as a nestmate
+ * of the target class
+ */
+ public boolean runtimeUseNestAccess() {
+ return compareTo(JDK1_15) >= 0;
+ }
+
/** Does the target VM support virtual private invocations?
*/
public boolean hasVirtualPrivateInvoke() {
return compareTo(JDK1_11) >= 0;
}
< prev index next >