[lworld] RFR: 8286491: Withdraw ValueObject and IdentityObject and introduce value and identity class modifiers [v10]

Julian Waters jwaters at openjdk.java.net
Mon May 16 12:13:14 UTC 2022


On Mon, 16 May 2022 08:32:38 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

>> Changes to javac, hotspot runtime, core libs and asmtools sources and tests
>
> Srikanth Adayapalam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 11 additional commits since the last revision:
> 
>  - Merge branch 'lworld' into JDK-8286491
>  - Fix langtools tier1 test failure: tools/javac/platform/createsymbols/CreateSymbolsTest.java
>  - Fix failure in tier1 langtools test: tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java
>  - Fix typo spotted in code review
>  - Fix tier1 langtools test failure: tools/javac/diags/CheckExamples.java
>  - Fix failing tier1 langtools test: tools/javac/SynchronizedClass.java
>  - Fix failing tier1 langtools test tools/javac/ClassFileModifiers/ClassModifiers.java
>  - Fix failing tier1 langtools test: tools/javap/TestSuperclass.java
>  - Fix tier1 failures in test/langtools/tools/javac/classfiles/attributes/innerclasses
>  - Fix failing tier3 test java/lang/instrument/IsModifiableClassAgent.java
>  - ... and 1 more: https://git.openjdk.java.net/valhalla/compare/c88c3803...fdc376eb

Bit of a weird question, but considering `SomeObject.val` might end up as a language feature in the future (https://mail.openjdk.java.net/pipermail/valhalla-spec-observers/2022-May/001934.html) and that we already have the ref keyword reserved, would it be worth considering reusing those keywords for modifying the "identitiness" of an object instead of having an extra keyword?

-------------

PR: https://git.openjdk.java.net/valhalla/pull/688



More information about the valhalla-dev mailing list