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

7124605: typos in javac comments

Reviewed-by: ksrini
上级 e00f8408
......@@ -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();
}
......
......@@ -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();
}
......
......@@ -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();
}
......
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册