hg: valhalla/valhalla: [lworld] At compile time, disallow declaring value classes with no instance fields

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Mon Jul 2 05:59:16 UTC 2018


Changeset: ca3920a44255
Author:    sadayapalam
Date:      2018-07-02 11:29 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/ca3920a44255

[lworld] At compile time, disallow declaring value classes with no instance fields

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/tools/javac/diags/examples.not-yet.txt
! test/langtools/tools/javac/valhalla/lworld-values/CheckClone.out
! test/langtools/tools/javac/valhalla/lworld-values/CheckEquals.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckFinalize.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckIdentityHash.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckIdentityHash01.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckMakeDefault.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckNullAssign.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckNullCastable.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckStaticFinalAssign.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckSync.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckSynchronized.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckValueFactoryWithReference.java
! test/langtools/tools/javac/valhalla/lworld-values/WithFieldOperatorTest.java



More information about the valhalla-dev mailing list