Mercurial > hg > release > icedtea7-forest-2.0 > langtools
changeset 15:058bdd3ca02e
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 | 58039502942e |
children | 6e4cefcce80a |
files | test/tools/javac/6304921/T6304921.java test/tools/javac/6304921/T6304921.out |
diffstat | 2 files changed, 5 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/test/tools/javac/6304921/T6304921.java Fri Mar 14 16:09:30 2008 -0700 +++ b/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/test/tools/javac/6304921/T6304921.out Fri Mar 14 16:09:30 2008 -0700 +++ b/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