8023826: Typo in warning about obsolete source / target values

Reviewed-by: jjg, wmdietl
This commit is contained in:
Joe Darcy 2013-08-27 11:58:53 -07:00
parent 856570998b
commit 336aaacb9d

View File

@ -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;
}