提交 52494c11 编写于 作者: J jjg

7124605: typos in javac comments

Reviewed-by: ksrini
上级 e00f8408
...@@ -284,7 +284,7 @@ public class DiamondAndInnerClassTest { ...@@ -284,7 +284,7 @@ public class DiamondAndInnerClassTest {
try { try {
ct.analyze(); ct.analyze();
} catch (Throwable ex) { } 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(); check();
} }
......
...@@ -146,7 +146,7 @@ public class T7086601b { ...@@ -146,7 +146,7 @@ public class T7086601b {
try { try {
ct.analyze(); ct.analyze();
} catch (Throwable ex) { } 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(); check();
} }
......
...@@ -210,7 +210,7 @@ public class GenericOverrideTest { ...@@ -210,7 +210,7 @@ public class GenericOverrideTest {
try { try {
ct.analyze(); ct.analyze();
} catch (Throwable ex) { } 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(); check();
} }
......
...@@ -238,7 +238,7 @@ public class LambdaParserTest { ...@@ -238,7 +238,7 @@ public class LambdaParserTest {
try { try {
ct.parse(); ct.parse();
} catch (Throwable ex) { } 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(); check();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册