# HG changeset patch # User jjg # Date 1324679433 0 # Node ID 116f68a5e677ac387e1a4adf6686d9ca53d04757 # Parent 1ae5988e201b3752d5eb602467ed224812a54392 7124605: typos in javac comments Reviewed-by: ksrini diff -r 1ae5988e201b -r 116f68a5e677 test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java --- 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(); } diff -r 1ae5988e201b -r 116f68a5e677 test/tools/javac/generics/inference/7086601/T7086601b.java --- 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(); } diff -r 1ae5988e201b -r 116f68a5e677 test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java --- 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(); } diff -r 1ae5988e201b -r 116f68a5e677 test/tools/javac/lambda/LambdaParserTest.java --- 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(); }