RFR: 8299595: Remove terminally deprecated JavaFX GTK 2 library [v9]

Kevin Rushforth kcr at openjdk.org
Thu Mar 2 13:08:43 UTC 2023


On Wed, 1 Mar 2023 23:28:00 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> Simple PR to remove gtk2 library compilation and loading.
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Throw exception if unsupported or invalid version specified.

You misunderstood Johan's suggestion. He wasn't asking for any changes to the logic. Just a slight change to the warning message when `-Djdk.gtk.version=2` is used, making it clear that GTK 3 will be used. Here is a possible suggestion:


WARNING: A command line option tried to select the GTK 2 library, which was removed from JavaFX.
WARNING: The GTK 3 library will be used instead.

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

PR: https://git.openjdk.org/jfx/pull/999


More information about the openjfx-dev mailing list