< prev index next >

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

Print this page
*** 209,10 ***
--- 209,16 ---
       */
      public boolean hasSealedClasses() {
          return compareTo(JDK1_15) >= 0;
      }
  
+     /** Does the target VM support value classes
+      */
+     public boolean hasValueClasses() {
+         return compareTo(JDK1_19) >= 0;
+     }
+ 
      /** Is the ACC_STRICT bit redundant and obsolete
       */
      public boolean obsoleteAccStrict() {
          return compareTo(JDK1_17) >= 0;
      }
< prev index next >