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

changeset 267
e2722bd43f3a
parent 1
9a66ca7c79fa
child 286
79eb8795a1de
equal deleted inserted replaced
263:825f23a4f262 267:e2722bd43f3a
251 */ 251 */
252 public boolean hasClassLiterals() { 252 public boolean hasClassLiterals() {
253 return compareTo(JDK1_5) >= 0; 253 return compareTo(JDK1_5) >= 0;
254 } 254 }
255 255
256 /** Does the VM support an invokedynamic instruction?
257 */
258 public boolean hasInvokedynamic() {
259 return compareTo(JDK1_7) >= 0;
260 }
261
256 /** Although we may not have support for class literals, should we 262 /** Although we may not have support for class literals, should we
257 * avoid initializing the class that the literal refers to? 263 * avoid initializing the class that the literal refers to?
258 * See 4468823 264 * See 4468823
259 */ 265 */
260 public boolean classLiteralsNoInit() { 266 public boolean classLiteralsNoInit() {

mercurial