On Thu, 11 Mar 2021 15:07:49 GMT, Nir Lisker <nlis...@openjdk.org> wrote:
>> The array is of type Object. When LHS is Object then autobox chooses a >> suitable type by itself. >> So here, if we autobox then the values get autoboxed to `Integer`. We do not >> intend to change the test behavior as part of this fix so let's keep this as >> `Double.valueOf`. > > I meant that we could use a double literal: `503d` or `503.0`, but if you > think this is more readable then it's fine as is. Thanks, I would like to keep as is. ------------- PR: https://git.openjdk.java.net/jfx/pull/423