On Wed, 11 Jun 2025 19:31:39 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Phil Race has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8359053 > > src/java.desktop/share/classes/javax/swing/SwingUtilities.java line 1656: > >> 1654: * @return the first ancestor of c that's a Window >> 1655: */ >> 1656: @SuppressWarnings("removal") > > @SuppressWarnings("removal") can be deleted? That's a very good point. I had forgotten that the JDK build does not warn about *unneeded* suppressions. Only missing ones. And all those little instanceof checks means there's a bunch of them. I'll try to spot them all. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25698#discussion_r2143690414