On Wed, 1 Mar 2023 23:28:00 GMT, Thiago Milczarek Sayao <tsa...@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