8023826: Typo in warning about obsolete source / target values
authordarcy
Tue, 27 Aug 2013 11:58:53 -0700
changeset 19664 4369a475040a
parent 19663 9a3447cabe1a
child 19665 8209bb66a9af
8023826: Typo in warning about obsolete source / target values Reviewed-by: jjg, wmdietl
langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
--- 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;
             }