From 52494c116fe2bc128c7eedde7edd0bcd338e7b4e Mon Sep 17 00:00:00 2001 From: jjg Date: Fri, 23 Dec 2011 22:30:33 +0000 Subject: [PATCH] 7124605: typos in javac comments Reviewed-by: ksrini --- .../generics/diamond/7046778/DiamondAndInnerClassTest.java | 2 +- test/tools/javac/generics/inference/7086601/T7086601b.java | 2 +- .../javac/generics/rawOverride/7062745/GenericOverrideTest.java | 2 +- test/tools/javac/lambda/LambdaParserTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java b/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java index 3aab739f..290d083a 100644 --- a/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java +++ b/test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java @@ -284,7 +284,7 @@ public class DiamondAndInnerClassTest { 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 --git a/test/tools/javac/generics/inference/7086601/T7086601b.java b/test/tools/javac/generics/inference/7086601/T7086601b.java index 0eceb7fe..64a3c81e 100644 --- a/test/tools/javac/generics/inference/7086601/T7086601b.java +++ b/test/tools/javac/generics/inference/7086601/T7086601b.java @@ -146,7 +146,7 @@ public class T7086601b { 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 --git a/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java b/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java index ae1a1cd5..de34d4d7 100644 --- a/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java +++ b/test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java @@ -210,7 +210,7 @@ public class GenericOverrideTest { 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 --git a/test/tools/javac/lambda/LambdaParserTest.java b/test/tools/javac/lambda/LambdaParserTest.java index b686013a..c728f849 100644 --- a/test/tools/javac/lambda/LambdaParserTest.java +++ b/test/tools/javac/lambda/LambdaParserTest.java @@ -238,7 +238,7 @@ public class LambdaParserTest { 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(); } -- GitLab