mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 05:59:52 +00:00
7124605: typos in javac comments
Reviewed-by: ksrini
This commit is contained in:
parent
61ee75c9d4
commit
42b9d6bc2e
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user