GTK3 has been the default for several years now. GTK2 is now only available by specifying it with the jdk.gtk.version system property. With the announcement of the GTK 4 release in December 2020, the GTK 2 toolkit has reached its end of life.
It is time to deprecate it for removal. Since there's no associated API, we just print a deprecation message once when trying to load gtk2. CSR: https://bugs.openjdk.org/browse/JDK-8307481 ------------- Commit messages: - initial Changes: https://git.openjdk.org/jdk/pull/13834/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13834&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8280031 Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/13834.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13834/head:pull/13834 PR: https://git.openjdk.org/jdk/pull/13834
