langtools/test/tools/javac/conditional/Conditional.java
changeset 14547 86d8d242b0c4
parent 14057 b4b0377b8dba
child 30716 1bbdff43424d
--- a/langtools/test/tools/javac/conditional/Conditional.java	Fri Nov 16 18:27:36 2012 +0000
+++ b/langtools/test/tools/javac/conditional/Conditional.java	Sat Nov 17 19:01:03 2012 +0000
@@ -27,8 +27,8 @@
  * @summary Conditional operator applies assignment conversion
  * @author Tim Hanson, BEA
  *
- * @compile -XDallowPoly Conditional.java
- * @compile/fail Conditional.java
+ * @compile Conditional.java
+ * @compile/fail -source 7 Conditional.java
  */
 
 import java.util.*;