Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299595

Remove terminally deprecated JavaFX GTK 2 library

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • jfx21
    • None
    • javafx

    Description

      The JavaFX GTK 2 library was deprecated for removal as of JavaFX 18 by JDK-8273089. We should now remove this library from JavaFX.

      This should be done as follows:

      1. Remove the glassgtk2 library (libglassgtk2.so) from the JavaFX SDK
      2. Print a warning message at runtime if the jdk.gtk.version property is set to 2
      3. Maybe print a warning message at runtime if another native library has already loaded the GTK 2 library (since an application cannot load both the GTK 2 and GTK 3 libraries in the same process, the attempt to load gtk3 will fail)

      This will need a CSR and a release note.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              tsayao Thiago Sayao
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: