changeset 19664:4369a475040a

8023826: Typo in warning about obsolete source / target values Reviewed-by: jjg, wmdietl
author darcy
date Tue, 27 Aug 2013 11:58:53 -0700
parents 9a3447cabe1a
children 8209bb66a9af
files langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
             }