8023826: Typo in warning about obsolete source / target values
Reviewed-by: jjg, wmdietl
--- a/langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java Tue Aug 27 11:41:39 2013 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java Tue Aug 27 11:58:53 2013 -0700
@@ -446,7 +446,7 @@
}
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;
}