On Wed, 21 Oct 2026 14:58:51 GMT, Matthias Baesken <[email protected]> wrote:
> While testing new MSVC warning flags, a number of unused but initialized > variables in java.desktop have been found. > A lot of them can be removed. A few are needed for special build variants > like (fast)debug only so they have to stay. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 4e07b7d6 Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/4e07b7d643b028703736698b74b8fe47d960fa7b Stats: 84 lines in 25 files changed: 2 ins; 55 del; 27 mod 8395375: Handle unused but initialized variables in java.desktop Reviewed-by: prr, mdoerr, lucy ------------- PR: https://git.openjdk.org/jdk/pull/33495
