RFR: 8334580: Deprecate no-arg constructor BasicSliderUI() for removal [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Jun 21 12:24:12 UTC 2024


On Fri, 21 Jun 2024 12:12:22 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> This looks good. I presume you've done a test build to ensure that there are no "removal" warnings elsewhere in the JDK? (I suspect there aren't, since I doubt any test program would be using this mistakenly added constructor)

Build works ok however I see in some places like [this](https://github.com/openjdk/jdk/blob/08ace27da1d9cd215c77471eabf41417ff6282d2/src/java.desktop/share/classes/java/awt/Graphics.java#L1169) @SuppressWarnings("removal") is used, not sure if we need to use this here too...

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

PR Comment: https://git.openjdk.org/jdk/pull/19819#issuecomment-2182648707


More information about the client-libs-dev mailing list