changeset 49055:20358c9f72c1

8198563: Test langtools/tools/javac/analyzer/AnonymousInAnonymous.java failing after JDK-8198502 Summary: Convert to lambda warning should not be provided for the tools/javac/analyzer/AnonymousInAnonymous.java test. Reviewed-by: mcimadamore
author jlahoda
date Thu, 22 Feb 2018 18:53:28 +0100
parents 9e3f2ec326ba
children 3390b463d7a2
files test/langtools/tools/javac/analyzer/AnonymousInAnonymous.java test/langtools/tools/javac/analyzer/AnonymousInAnonymous.out
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/langtools/tools/javac/analyzer/AnonymousInAnonymous.java	Fri Feb 23 01:54:09 2018 +0530
+++ b/test/langtools/tools/javac/analyzer/AnonymousInAnonymous.java	Thu Feb 22 18:53:28 2018 +0100
@@ -26,7 +26,7 @@
  * @bug 8197439
  * @summary Check anonymous class in anonymous class, where the nested one becomes
  *          unresolvable with lambda conversion.
- * @compile/ref=AnonymousInAnonymous.out -XDfind=lambda -XDrawDiagnostics AnonymousInAnonymous.java
+ * @compile -XDfind=lambda -Werror AnonymousInAnonymous.java
  */
 
 public class AnonymousInAnonymous {
--- a/test/langtools/tools/javac/analyzer/AnonymousInAnonymous.out	Fri Feb 23 01:54:09 2018 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-AnonymousInAnonymous.java:36:22: compiler.warn.potential.lambda.found
-1 warning