RFR: 8264137: Suppress deprecation and removal warnings of internal methods
Marius Hanl
mhanl at openjdk.java.net
Tue Jun 22 13:06:27 UTC 2021
On Mon, 21 Jun 2021 11:24:39 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
> This PR suppresses -PLINT="removal" warnings and fixes -PLINT="deprecation" warnings. I have created separate commits for each type of warnings for the ease of review.
>
> `gradle --info -PLINT="deprecation,removal"` -- results in warnings during build without this PR and results in no warnings with this PR.
Looks good. I double checked the snapSizeX/Y and snapPositionX/Y methods, I didn't found any location where the wrong method is used.
Good to see that all deprecated snapSize/snapPosition usages are finally replaced. :)
Btw, it looks like this PR also resolves: https://bugs.openjdk.java.net/browse/JDK-8252820
So this ticket can be either added to the issues this PR resolves or be closed.
-------------
Marked as reviewed by mhanl (Author).
PR: https://git.openjdk.java.net/jfx/pull/538
More information about the openjfx-dev
mailing list