mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8207055: Make javac -help output for -source and -target more informative
Reviewed-by: jjg
This commit is contained in:
parent
c7a1b6431d
commit
e18f343141
6 changed files with 47 additions and 20 deletions
|
@ -264,7 +264,7 @@ public class AddLimitMods extends ModuleTestBase {
|
|||
.writeAll()
|
||||
.getOutputLines(Task.OutputKind.DIRECT);
|
||||
|
||||
if (!actual.contains("- compiler.err.option.not.allowed.with.target: --add-modules, 1.8")) {
|
||||
if (!actual.contains("- compiler.err.option.not.allowed.with.target: --add-modules, 8")) {
|
||||
throw new IllegalStateException("incorrect errors; actual=" + actual);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue