langtools/test/tools/javac/lambda/TargetType36.java
changeset 18907 7b19e121cdea
parent 17544 80db48a54a9f
--- a/langtools/test/tools/javac/lambda/TargetType36.java	Tue Jul 09 14:54:20 2013 -0700
+++ b/langtools/test/tools/javac/lambda/TargetType36.java	Thu Jul 11 15:37:02 2013 +0100
@@ -23,11 +23,10 @@
 
 /*
  * @test
- * @ignore 8013404: Test awaits spec clarification
- * @bug 8003280
+ * @bug 8003280 8013404
  * @summary Add lambda tests
- *  check that target type of cast is propagated to conditional subexpressions
- * @compile TargetType36.java
+ *  check that target type of cast is not propagated to conditional subexpressions
+ * @compile/fail/ref=TargetType36.out -XDrawDiagnostics TargetType36.java
  */
 class TargetType36 { //awaits spec wording on cast vs. poly