hg: valhalla/valhalla/langtools: Fix __RefOnly method bug:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Oct 23 10:41:05 UTC 2014


Changeset: 414758a86208
Author:    mcimadamore
Date:      2014-10-23 11:37 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/414758a86208

Fix __RefOnly method bug:
* Wrong membership test for __RefOnly methods allowed unsound instance creation expressions

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! test/tools/javac/valhalla/typespec/TestRefOnly02.java
! test/tools/javac/valhalla/typespec/TestRefOnly02.out



More information about the valhalla-dev mailing list