Fri, 23 Dec 2011 22:30:33 +0000
7124605: typos in javac comments
Reviewed-by: ksrini
1.1 --- a/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java Mon Dec 19 12:07:07 2011 +0000 1.2 +++ b/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java Fri Dec 23 22:30:33 2011 +0000 1.3 @@ -284,7 +284,7 @@ 1.4 try { 1.5 ct.analyze(); 1.6 } catch (Throwable ex) { 1.7 - throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); 1.8 + throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true)); 1.9 } 1.10 check(); 1.11 }
2.1 --- a/test/tools/javac/generics/inference/7086601/T7086601b.java Mon Dec 19 12:07:07 2011 +0000 2.2 +++ b/test/tools/javac/generics/inference/7086601/T7086601b.java Fri Dec 23 22:30:33 2011 +0000 2.3 @@ -146,7 +146,7 @@ 2.4 try { 2.5 ct.analyze(); 2.6 } catch (Throwable ex) { 2.7 - throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); 2.8 + throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true)); 2.9 } 2.10 check(); 2.11 }
3.1 --- a/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java Mon Dec 19 12:07:07 2011 +0000 3.2 +++ b/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java Fri Dec 23 22:30:33 2011 +0000 3.3 @@ -210,7 +210,7 @@ 3.4 try { 3.5 ct.analyze(); 3.6 } catch (Throwable ex) { 3.7 - throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); 3.8 + throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true)); 3.9 } 3.10 check(); 3.11 }
4.1 --- a/test/tools/javac/lambda/LambdaParserTest.java Mon Dec 19 12:07:07 2011 +0000 4.2 +++ b/test/tools/javac/lambda/LambdaParserTest.java Fri Dec 23 22:30:33 2011 +0000 4.3 @@ -238,7 +238,7 @@ 4.4 try { 4.5 ct.parse(); 4.6 } catch (Throwable ex) { 4.7 - throw new AssertionError("Error thron when parsing the following source:\n" + source.getCharContent(true)); 4.8 + throw new AssertionError("Error thrown when parsing the following source:\n" + source.getCharContent(true)); 4.9 } 4.10 check(); 4.11 }