mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-09 21:19:38 +00:00
8023826: Typo in warning about obsolete source / target values
Reviewed-by: jjg, wmdietl
This commit is contained in:
parent
856570998b
commit
336aaacb9d
@ -446,7 +446,7 @@ public class JavaCompiler implements ClassReader.SourceCompleter {
|
||||
}
|
||||
|
||||
if (target.compareTo(Target.JDK1_5) <= 0) {
|
||||
log.warning(LintCategory.OPTIONS, "option.obsolete.target", source.name);
|
||||
log.warning(LintCategory.OPTIONS, "option.obsolete.target", target.name);
|
||||
obsoleteOptionFound = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user