< prev index next >

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

Print this page

        

@@ -170,6 +170,11 @@
      */
     public boolean hasVirtualPrivateInvoke() {
         return compareTo(JDK1_11) >= 0;
     }
 
+    /** Does the target VM support sealed types
+     */
+    public boolean hasSealedTypes() {
+        return compareTo(JDK1_12) >= 0;
+    }
 }
< prev index next >