hg: valhalla/valhalla/langtools: 2 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Nov 19 10:59:38 UTC 2015


Changeset: 8a2e511aeaa6
Author:    mcimadamore
Date:      2015-11-19 10:39 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8a2e511aeaa6

Fix: Javac should enforce that a value type cannot declare a field of its own type either directly or indirectly.
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties

Changeset: a78ce07fb6a9
Author:    mcimadamore
Date:      2015-11-19 10:39 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a78ce07fb6a9

Fix: Compiler should disallow assignment of null to value types.
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java



More information about the valhalla-dev mailing list