langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
changeset 29295 5a367770a074
parent 25874 83c19f00452c
child 35424 96661d1df628
equal deleted inserted replaced
29294:376a915b4ff0 29295:5a367770a074
   119      */
   119      */
   120     public boolean hasInvokedynamic() {
   120     public boolean hasInvokedynamic() {
   121         return compareTo(JDK1_7) >= 0;
   121         return compareTo(JDK1_7) >= 0;
   122     }
   122     }
   123 
   123 
       
   124     /** Does the target JDK contains the java.util.Objects class?
       
   125      */
       
   126     public boolean hasObjects() {
       
   127         return compareTo(JDK1_7) >= 0;
       
   128     }
       
   129 
   124     /** Does the VM support polymorphic method handle invocation?
   130     /** Does the VM support polymorphic method handle invocation?
   125      *  Affects the linkage information output to the classfile.
   131      *  Affects the linkage information output to the classfile.
   126      *  An alias for {@code hasInvokedynamic}, since all the JSR 292 features appear together.
   132      *  An alias for {@code hasInvokedynamic}, since all the JSR 292 features appear together.
   127      */
   133      */
   128     public boolean hasMethodHandles() {
   134     public boolean hasMethodHandles() {