< prev index next >

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

Print this page

        

@@ -142,10 +142,16 @@
      */
     public boolean hasStringConcatFactory() {
         return compareTo(JDK1_9) >= 0;
     }
 
+    /** Does the target JDK knows about condy?
+     */
+    public boolean hasCondy() {
+        return compareTo(JDK1_10) >= 0;
+    }
+
     /** Value of platform release used to access multi-release jar files
      */
     public String multiReleaseValue() {
         return Integer.toString(this.ordinal() - Target.JDK1_1.ordinal() + 1);
     }
< prev index next >