8023826: Typo in warning about obsolete source / target values

Tue, 27 Aug 2013 11:58:53 -0700

author
darcy
date
Tue, 27 Aug 2013 11:58:53 -0700
changeset 1982
662a5188bded
parent 1981
7fb27bc201cc
child 1983
7de7100c30ce

8023826: Typo in warning about obsolete source / target values
Reviewed-by: jjg, wmdietl

src/share/classes/com/sun/tools/javac/main/JavaCompiler.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Tue Aug 27 11:41:39 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Tue Aug 27 11:58:53 2013 -0700
     1.3 @@ -446,7 +446,7 @@
     1.4              }
     1.5  
     1.6              if (target.compareTo(Target.JDK1_5) <= 0) {
     1.7 -                log.warning(LintCategory.OPTIONS, "option.obsolete.target", source.name);
     1.8 +                log.warning(LintCategory.OPTIONS, "option.obsolete.target", target.name);
     1.9                  obsoleteOptionFound = true;
    1.10              }
    1.11  

mercurial