JDK 11 RFR of 8200478: For boxing conversion javac uses Long.valueOf which does not guarantee caching according to its javadoc

joe darcy joe.darcy at oracle.com
Wed Apr 25 16:22:37 UTC 2018


Hi Jon,


On 4/25/2018 8:57 AM, Jonathan Gibbons wrote:
>
> Joe,
>
> While I note that the primary text has been modified to include long 
> types, the italic comment that follows still ends with the following:
>
> Notice that integer literals of type|long|are allowed, but not 
> required, to be shared.
>
> -- Jon
>
>

It would seem that text missed being deleted with the prior update ;-)

-Joe


More information about the core-libs-dev mailing list