RFR: 8280031: Deprecate GTK2 for removal in JDK 21

Alexander Zvegintsev azvegint at openjdk.org
Fri May 5 15:36:15 UTC 2023


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



More information about the client-libs-dev mailing list