RFR: 8160000: Runtime.version() cause startup regressions in 9+119

Claes Redestad claes.redestad at oracle.com
Mon Jun 27 15:12:19 UTC 2016


On 2016-06-27 16:36, Remi Forax wrote:
> BTW, i don't know why you're using Integerr.parseInt() when for the build numbers in Version.parse() but Integer.valueOf() in version().

Oops, but since we're boxing in both cases we end up with the same 
bytecode. I'll make the arbitrary choice and use parseInt consistently.

Thanks!

/Claes


More information about the core-libs-dev mailing list