changeset 323:ba0845d0b4dc

6618930: (javac) fix test after whitespace normalization Summary: whitespace normalization left the test unusable, back to service Reviewed-by: jjg
author ksrini
date Thu, 20 Mar 2008 08:44:18 -0700
parents bf2517e15f0c
children c4029ac973a2
files langtools/test/tools/javac/6304921/T6304921.java langtools/test/tools/javac/6304921/T6304921.out
diffstat 2 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/test/tools/javac/6304921/T6304921.java	Wed Jul 05 16:34:33 2017 +0200
+++ b/langtools/test/tools/javac/6304921/T6304921.java	Thu Mar 20 08:44:18 2008 -0700
@@ -1,8 +1,6 @@
 /*
  * @test (important: no SCCS keywords to affect offsets in golden file.)  /nodynamiccopyright/
  * @bug 6304921
- * @ignore
- *    Need to fix this test post whitespace normalization
  * @compile/fail/ref=T6304921.out -XDstdout -XDcompilePolicy=bytodo -XDdiags=%b:%s/%o/%e:%_%t%m|%p%m -Xjcov -Xlint:all,-path -Werror T6304921.java
  */
 
--- a/langtools/test/tools/javac/6304921/T6304921.out	Wed Jul 05 16:34:33 2017 +0200
+++ b/langtools/test/tools/javac/6304921/T6304921.out	Thu Mar 20 08:44:18 2008 -0700
@@ -1,20 +1,20 @@
-T6304921.java:569/569/584: warning: [unchecked] unchecked conversion
+T6304921.java:667/667/682: warning: [unchecked] unchecked conversion
 found   : java.util.ArrayList
 required: java.util.List<java.lang.Integer>
         List<Integer> list = new ArrayList();
                              ^
-T6304921.java:410/410/418: warning: [fallthrough] possible fall-through into case
+T6304921.java:445/445/453: warning: [fallthrough] possible fall-through into case
         default:
         ^
-T6304921.java:452/522/523: warning: [finally] finally clause cannot complete normally
+T6304921.java:522/613/614: warning: [finally] finally clause cannot complete normally
         }
         ^
-T6304921.java:622/628/632: cannot find symbol
+T6304921.java:727/733/737: cannot find symbol
 symbol  : variable orr
 location: class java.lang.System
         System.orr.println("abc"); // name not found
               ^
-T6304921.java:700/704/710: operator + cannot be applied to int,boolean
+T6304921.java:812/816/822: operator + cannot be applied to int,boolean
         return 123 + true; // bad binary expression
                    ^
 2 errors