< prev index next >

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

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