hg: valhalla/valhalla/langtools: 8 new changesets

tobias.hartmann at oracle.com tobias.hartmann at oracle.com
Mon May 15 12:09:46 UTC 2017


Changeset: 181ba2150fc9
Author:    sadayapalam
Date:      2017-04-17 18:00 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/181ba2150fc9

Implementation: Javac support for value types (minus code generator) & semantic checks for minimal value types

! src/java.compiler/share/classes/javax/lang/model/element/Modifier.java
! src/jdk.compiler/share/classes/com/sun/source/tree/NewClassTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.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
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ValueCapableClassAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Tokens.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java
! src/jdk.jdeps/share/classes/com/sun/tools/classfile/AccessFlags.java
! src/jdk.jshell/share/classes/jdk/jshell/CompletenessAnalyzer.java
+ test/tools/javac/valhalla/minimalvalues/CheckClone.java
+ test/tools/javac/valhalla/minimalvalues/CheckClone.out
+ test/tools/javac/valhalla/minimalvalues/CheckCyclicMembership.java
+ test/tools/javac/valhalla/minimalvalues/CheckCyclicMembership.out
+ test/tools/javac/valhalla/minimalvalues/CheckEquals.java
+ test/tools/javac/valhalla/minimalvalues/CheckEquals.out
+ test/tools/javac/valhalla/minimalvalues/CheckExtends.java
+ test/tools/javac/valhalla/minimalvalues/CheckExtends.out
+ test/tools/javac/valhalla/minimalvalues/CheckFinal.java
+ test/tools/javac/valhalla/minimalvalues/CheckFinal.out
+ test/tools/javac/valhalla/minimalvalues/CheckFinalize.java
+ test/tools/javac/valhalla/minimalvalues/CheckFinalize.out
+ test/tools/javac/valhalla/minimalvalues/CheckIdentityHash.java
+ test/tools/javac/valhalla/minimalvalues/CheckIdentityHash.out
+ test/tools/javac/valhalla/minimalvalues/CheckIdentityHash01.java
+ test/tools/javac/valhalla/minimalvalues/CheckIdentityHash01.out
+ test/tools/javac/valhalla/minimalvalues/CheckNullAssign.java
+ test/tools/javac/valhalla/minimalvalues/CheckNullAssign.out
+ test/tools/javac/valhalla/minimalvalues/CheckNullCastable.java
+ test/tools/javac/valhalla/minimalvalues/CheckNullCastable.out
+ test/tools/javac/valhalla/minimalvalues/CheckSync.java
+ test/tools/javac/valhalla/minimalvalues/CheckSync.out
+ test/tools/javac/valhalla/minimalvalues/CheckSynchronized.java
+ test/tools/javac/valhalla/minimalvalues/CheckSynchronized.out
+ test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.java
+ test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.out
+ test/tools/javac/valhalla/minimalvalues/Point.java
+ test/tools/javac/valhalla/values/CheckClone.java
+ test/tools/javac/valhalla/values/CheckClone.out
+ test/tools/javac/valhalla/values/CheckCyclicMembership.java
+ test/tools/javac/valhalla/values/CheckCyclicMembership.out
+ test/tools/javac/valhalla/values/CheckEquals.java
+ test/tools/javac/valhalla/values/CheckEquals.out
+ test/tools/javac/valhalla/values/CheckExtends.java
+ test/tools/javac/valhalla/values/CheckExtends.out
+ test/tools/javac/valhalla/values/CheckFinal.java
+ test/tools/javac/valhalla/values/CheckFinal.out
+ test/tools/javac/valhalla/values/CheckFinalize.java
+ test/tools/javac/valhalla/values/CheckFinalize.out
+ test/tools/javac/valhalla/values/CheckFlags.java
+ test/tools/javac/valhalla/values/CheckIdentityHash.java
+ test/tools/javac/valhalla/values/CheckIdentityHash.out
+ test/tools/javac/valhalla/values/CheckIdentityHash01.java
+ test/tools/javac/valhalla/values/CheckIdentityHash01.out
+ test/tools/javac/valhalla/values/CheckInvokeDirect.java
+ test/tools/javac/valhalla/values/CheckMakeDefault.java
+ test/tools/javac/valhalla/values/CheckMakeDefault.out
+ test/tools/javac/valhalla/values/CheckNullAssign.java
+ test/tools/javac/valhalla/values/CheckNullAssign.out
+ test/tools/javac/valhalla/values/CheckNullCastable.java
+ test/tools/javac/valhalla/values/CheckNullCastable.out
+ test/tools/javac/valhalla/values/CheckStaticValueFactory.java
+ test/tools/javac/valhalla/values/CheckStaticValueFactory.out
+ test/tools/javac/valhalla/values/CheckSuper.java
+ test/tools/javac/valhalla/values/CheckSuperCompileOnly.java
+ test/tools/javac/valhalla/values/CheckSync.java
+ test/tools/javac/valhalla/values/CheckSync.out
+ test/tools/javac/valhalla/values/CheckSynchronized.java
+ test/tools/javac/valhalla/values/CheckSynchronized.out
+ test/tools/javac/valhalla/values/CheckValueFactoryWithReference.java
+ test/tools/javac/valhalla/values/CheckValueFactoryWithReference.out
+ test/tools/javac/valhalla/values/CheckValueModifier.java
+ test/tools/javac/valhalla/values/CheckValueModifier.out
+ test/tools/javac/valhalla/values/LargeCodeTest.java
+ test/tools/javac/valhalla/values/NoVerifyErrorTest.java
+ test/tools/javac/valhalla/values/Point.java
+ test/tools/javac/valhalla/values/ValueCreationTest.java

Changeset: 9a2e6d922c93
Author:    sadayapalam
Date:      2017-04-17 19:39 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/9a2e6d922c93

cleanup: Fix various issues in langtools tests

! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/diags/CheckResourceKeys.java
! test/tools/javac/diags/examples.not-yet.txt
! test/tools/javac/valhalla/minimalvalues/CheckClone.java
! test/tools/javac/valhalla/minimalvalues/CheckCyclicMembership.java
! test/tools/javac/valhalla/minimalvalues/CheckEquals.java
! test/tools/javac/valhalla/minimalvalues/CheckExtends.java
! test/tools/javac/valhalla/minimalvalues/CheckFinal.java
! test/tools/javac/valhalla/minimalvalues/CheckFinalize.java
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash.java
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash01.java
! test/tools/javac/valhalla/minimalvalues/CheckNullAssign.java
! test/tools/javac/valhalla/minimalvalues/CheckNullCastable.java
! test/tools/javac/valhalla/minimalvalues/CheckSync.java
! test/tools/javac/valhalla/minimalvalues/CheckSynchronized.java
! test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.java

Changeset: 3d9acc0be49b
Author:    sadayapalam
Date:      2017-04-18 09:59 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3d9acc0be49b

Implementation: Javac support for emission of v-opcodes (for comparison purposes)

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ByteCodes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/StringConcat.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Opcode.java
! test/tools/javac/valhalla/values/CheckInvokeDirect.java
+ test/tools/javac/valhalla/values/VOpcodeTest.java
+ test/tools/javac/valhalla/values/ValueCreationNewTest.java
! test/tools/javac/valhalla/values/ValueCreationTest.java

Changeset: 0db57344a827
Author:    sadayapalam
Date:      2017-04-18 19:15 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/0db57344a827

clean-up: Enable minimal value types by default; Enable __ByValue classes under the compiler option -XDenableValueTypes

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ValueCapableClassAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
+ test/tools/javac/diags/examples/ValueTypesDisabled.java
! test/tools/javac/valhalla/minimalvalues/CheckClone.java
! test/tools/javac/valhalla/minimalvalues/CheckCyclicMembership.java
! test/tools/javac/valhalla/minimalvalues/CheckEquals.java
! test/tools/javac/valhalla/minimalvalues/CheckExtends.java
! test/tools/javac/valhalla/minimalvalues/CheckFinal.java
! test/tools/javac/valhalla/minimalvalues/CheckFinalize.java
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash.java
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash01.java
! test/tools/javac/valhalla/minimalvalues/CheckNullAssign.java
! test/tools/javac/valhalla/minimalvalues/CheckNullCastable.java
! test/tools/javac/valhalla/minimalvalues/CheckSync.java
! test/tools/javac/valhalla/minimalvalues/CheckSynchronized.java
! test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.java
! test/tools/javac/valhalla/minimalvalues/Point.java
! test/tools/javac/valhalla/values/CheckClone.java
! test/tools/javac/valhalla/values/CheckCyclicMembership.java
! test/tools/javac/valhalla/values/CheckCyclicMembership.out
! test/tools/javac/valhalla/values/CheckEquals.java
! test/tools/javac/valhalla/values/CheckExtends.java
! test/tools/javac/valhalla/values/CheckFinal.java
! test/tools/javac/valhalla/values/CheckFinalize.java
! test/tools/javac/valhalla/values/CheckFlags.java
! test/tools/javac/valhalla/values/CheckIdentityHash.java
! test/tools/javac/valhalla/values/CheckIdentityHash01.java
! test/tools/javac/valhalla/values/CheckInvokeDirect.java
! test/tools/javac/valhalla/values/CheckMakeDefault.java
! test/tools/javac/valhalla/values/CheckNullAssign.java
! test/tools/javac/valhalla/values/CheckNullCastable.java
! test/tools/javac/valhalla/values/CheckStaticValueFactory.java
! test/tools/javac/valhalla/values/CheckSuper.java
! test/tools/javac/valhalla/values/CheckSuperCompileOnly.java
! test/tools/javac/valhalla/values/CheckSync.java
! test/tools/javac/valhalla/values/CheckSynchronized.java
! test/tools/javac/valhalla/values/CheckValueFactoryWithReference.java
! test/tools/javac/valhalla/values/CheckValueModifier.java
- test/tools/javac/valhalla/values/LargeCodeTest.java
- test/tools/javac/valhalla/values/NoVerifyErrorTest.java
! test/tools/javac/valhalla/values/Point.java
! test/tools/javac/valhalla/values/VOpcodeTest.java
! test/tools/javac/valhalla/values/ValueCreationNewTest.java
! test/tools/javac/valhalla/values/ValueCreationTest.java

Changeset: f0a2c7b210af
Author:    sadayapalam
Date:      2017-04-27 11:05 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f0a2c7b210af

Implementation: Add missing support for 'Q' types in class file signature

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Descriptor.java
! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Signature.java

Changeset: c7427bcae49f
Author:    sadayapalam
Date:      2017-04-27 13:28 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c7427bcae49f

Cleanup: Withdraw support for vnew, typed and invokedirect opcodes.

! src/jdk.compiler/share/classes/com/sun/source/tree/NewClassTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ByteCodes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/StringConcat.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Tokens.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Opcode.java
! src/jdk.jshell/share/classes/jdk/jshell/CompletenessAnalyzer.java
! test/tools/javac/valhalla/values/CheckCyclicMembership.java
- test/tools/javac/valhalla/values/CheckInvokeDirect.java
+ test/tools/javac/valhalla/values/CheckNoInvokeDirect.java
! test/tools/javac/valhalla/values/CheckSuperCompileOnly.java
! test/tools/javac/valhalla/values/CheckSync.java
! test/tools/javac/valhalla/values/CheckValueFactoryWithReference.java
! test/tools/javac/valhalla/values/CheckValueFactoryWithReference.out
! test/tools/javac/valhalla/values/Point.java
! test/tools/javac/valhalla/values/VOpcodeTest.java
- test/tools/javac/valhalla/values/ValueCreationNewTest.java

Changeset: f501fd8c458c
Author:    sadayapalam
Date:      2017-05-05 16:31 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f501fd8c458c

Implementation: Enforce value semantics on Value Capable Classes only under -Xlint:values

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.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
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ValueCapableClassAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
! test/tools/javac/diags/examples.not-yet.txt
! test/tools/javac/valhalla/minimalvalues/CheckClone.java
! test/tools/javac/valhalla/minimalvalues/CheckClone.out
! test/tools/javac/valhalla/minimalvalues/CheckCyclicMembership.java
! test/tools/javac/valhalla/minimalvalues/CheckCyclicMembership.out
! test/tools/javac/valhalla/minimalvalues/CheckEquals.java
! test/tools/javac/valhalla/minimalvalues/CheckEquals.out
! test/tools/javac/valhalla/minimalvalues/CheckExtends.java
! test/tools/javac/valhalla/minimalvalues/CheckExtends.out
! test/tools/javac/valhalla/minimalvalues/CheckFinal.java
! test/tools/javac/valhalla/minimalvalues/CheckFinal.out
! test/tools/javac/valhalla/minimalvalues/CheckFinalize.java
! test/tools/javac/valhalla/minimalvalues/CheckFinalize.out
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash.java
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash.out
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash01.java
! test/tools/javac/valhalla/minimalvalues/CheckIdentityHash01.out
! test/tools/javac/valhalla/minimalvalues/CheckNullAssign.java
! test/tools/javac/valhalla/minimalvalues/CheckNullAssign.out
! test/tools/javac/valhalla/minimalvalues/CheckNullCastable.java
! test/tools/javac/valhalla/minimalvalues/CheckNullCastable.out
! test/tools/javac/valhalla/minimalvalues/CheckSync.java
! test/tools/javac/valhalla/minimalvalues/CheckSync.out
! test/tools/javac/valhalla/minimalvalues/CheckSynchronized.java
! test/tools/javac/valhalla/minimalvalues/CheckSynchronized.out
! test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.java
! test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.out

Changeset: c202f0b7f8fc
Author:    thartmann
Date:      2017-05-15 13:36 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c202f0b7f8fc

Merge

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.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
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java
! test/tools/javac/diags/CheckResourceKeys.java



More information about the valhalla-dev mailing list