hg: jdk9/sandbox/langtools: 8067886: Inaccessible nested classes can	be incorrectly imported
    chris.hegarty at oracle.com 
    chris.hegarty at oracle.com
       
    Tue Feb 24 15:20:34 UTC 2015
    
    
  
Changeset: f683944ffa42
Author:    jlahoda
Date:      2015-02-24 16:11 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/f683944ffa42
8067886: Inaccessible nested classes can be incorrectly imported
Summary: Check type accessibility at the point of import when importing the type using type-import-on-demand.
Reviewed-by: mcimadamore, jfranck
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
+ test/tools/javac/importscope/ImportInaccessible.java
+ test/tools/javac/importscope/ImportInaccessible.out
    
    
More information about the jdk9-sandbox-changes
mailing list