RFR: 8257512: Remove use of deprecated primitive constructors in JavaFX [v3]

Nir Lisker nlisker at openjdk.java.net
Thu Mar 11 15:21:13 UTC 2021


On Thu, 11 Mar 2021 00:31:10 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> Ambarish Rapte has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   correct Float.valueOf()
>
> modules/javafx.graphics/src/main/java/com/sun/prism/j2d/J2DPipeline.java line 64:
> 
>> 62:     @Override
>> 63:     public ResourceFactory getResourceFactory(Screen screen) {
>> 64:         Integer index = Integer.valueOf(screen.getAdapterOrdinal());
> 
> Autobox?
> 
> Same for the other similar places.

Do you have a preference here?

-------------

PR: https://git.openjdk.java.net/jfx/pull/423


More information about the openjfx-dev mailing list