hg: jdk/sandbox: 2 new changesets

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Nov 28 09:18:49 UTC 2017


Changeset: 5dab5e8f06a3
Author:    attila
Date:      2017-11-28 07:58 +0100
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/5dab5e8f06a3

8191878: Reduce code duplication in BeanLinker
Reviewed-by: hannesw, sundar

! src/jdk.dynalink/share/classes/jdk/dynalink/beans/BeanLinker.java

Changeset: 8b11e4b32db3
Author:    jlahoda
Date:      2017-11-27 19:29 +0100
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/8b11e4b32db3

8133616: compiler error messages for dup single type, single static import switched
Summary: When reporting clashing imports, use the (non-)staticness of the original import to generate the error message.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! test/langtools/jdk/jshell/ForwardReferenceImportTest.java
! test/langtools/tools/javac/4980495/std/NonStatic2StaticImportClash.java
! test/langtools/tools/javac/4980495/std/Static2NonStaticImportClash.java
! test/langtools/tools/javac/diags/examples/AlreadyDefinedStaticImport/AlreadDefinedStaticImport.java



More information about the jdk-sandbox-changes mailing list