hg: jdk/jdk10: 8194764: javac incorrectly flags deprecated for removal imports

jan.lahoda at oracle.com jan.lahoda at oracle.com
Wed Feb 7 16:36:12 UTC 2018


Changeset: 107413b070b9
Author:    jlahoda
Date:      2018-02-07 16:49 +0100
URL:       http://hg.openjdk.java.net/jdk/jdk10/rev/107413b070b9

8194764: javac incorrectly flags deprecated for removal imports
Summary: Fixing source range for the Source.Feature.DEPRECATE_ON_IMPORT
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! test/langtools/tools/javac/warnings/Deprecation.java
! test/langtools/tools/javac/warnings/Deprecation.lintDeprecation.out
! test/langtools/tools/javac/warnings/Deprecation.lintDeprecation8.out



More information about the jdk-all-changes mailing list