Mercurial > hg > jdk9-shenandoah > langtools
changeset 1981:662a5188bded
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 | 7fb27bc201cc |
children | 7de7100c30ce |
files | src/share/classes/com/sun/tools/javac/main/JavaCompiler.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java Tue Aug 27 11:41:39 2013 -0700 +++ b/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; }