RFR: 8257512: Remove use of deprecated primitive constructors in JavaFX [v3]
Ambarish Rapte
arapte at openjdk.java.net
Thu Mar 11 19:32:11 UTC 2021
On Thu, 11 Mar 2021 15:07:49 GMT, Nir Lisker <nlisker at 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
More information about the openjfx-dev
mailing list