hg: valhalla/valhalla: 8237071: [lworld] Totalize System.identityHashCode for inline types

Srikanth srikanth.adayapalam at oracle.com
Mon Feb 3 08:58:18 UTC 2020


Notes:

With this change, javac will not disallow anymore, attempts to compute 
System.identityHashCode on operands that are discernible at compile time 
to be of some inline type.

I have raised https://bugs.openjdk.java.net/browse/JDK-8238382 for the 
library portion of the work.

FYI,
Thanks
Srikanth



On 03/02/20 2:21 pm, srikanth.adayapalam at oracle.com wrote:
> Changeset: 8cbd40791397
> Author:    sadayapalam
> Date:      2020-02-03 14:21 +0530
> URL:       https://hg.openjdk.java.net/valhalla/valhalla/rev/8cbd40791397
>
> 8237071: [lworld] Totalize System.identityHashCode for inline types
>
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckIdentityHash.java
> - test/langtools/tools/javac/valhalla/lworld-values/CheckIdentityHash.out
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckIdentityHash01.java
> - test/langtools/tools/javac/valhalla/lworld-values/CheckIdentityHash01.out
>



More information about the valhalla-dev mailing list