Mercurial > hg > openjdk > jdk9 > langtools
changeset 1168:116f68a5e677
7124605: typos in javac comments
Reviewed-by: ksrini
author | jjg |
---|---|
date | Fri, 23 Dec 2011 22:30:33 +0000 |
parents | 1ae5988e201b |
children | 67512b631961 |
files | test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java test/tools/javac/generics/inference/7086601/T7086601b.java test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java test/tools/javac/lambda/LambdaParserTest.java |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java Mon Dec 19 12:07:07 2011 +0000 +++ b/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java Fri Dec 23 22:30:33 2011 +0000 @@ -284,7 +284,7 @@ try { ct.analyze(); } catch (Throwable ex) { - throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); + throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true)); } check(); }
--- a/test/tools/javac/generics/inference/7086601/T7086601b.java Mon Dec 19 12:07:07 2011 +0000 +++ b/test/tools/javac/generics/inference/7086601/T7086601b.java Fri Dec 23 22:30:33 2011 +0000 @@ -146,7 +146,7 @@ try { ct.analyze(); } catch (Throwable ex) { - throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); + throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true)); } check(); }
--- a/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java Mon Dec 19 12:07:07 2011 +0000 +++ b/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java Fri Dec 23 22:30:33 2011 +0000 @@ -210,7 +210,7 @@ try { ct.analyze(); } catch (Throwable ex) { - throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); + throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true)); } check(); }
--- a/test/tools/javac/lambda/LambdaParserTest.java Mon Dec 19 12:07:07 2011 +0000 +++ b/test/tools/javac/lambda/LambdaParserTest.java Fri Dec 23 22:30:33 2011 +0000 @@ -238,7 +238,7 @@ try { ct.parse(); } catch (Throwable ex) { - throw new AssertionError("Error thron when parsing the following source:\n" + source.getCharContent(true)); + throw new AssertionError("Error thrown when parsing the following source:\n" + source.getCharContent(true)); } check(); }