test/tools/javac/ConditionalArgTypes_1.java

Print this page

        

@@ -26,11 +26,11 @@
  * @bug 4312781 4881179 4949543
  * @summary Verify that both branches of a conditional expression must agree in type.
  * @author maddox
  *
  * @compile/fail -source 1.4 ConditionalArgTypes_1.java
- * @compile -source 1.5 ConditionalArgTypes_1.java
+ * @compile                  ConditionalArgTypes_1.java
  */
 
 // This is the problematic case -- the controlling expression is a boolean constant.
 
 class ConditionalArgTypes_1 {