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

Some swing gtk regression tests fail with "java.lang.InternalError: Unable to load native GTK libraries"

    Details

    • Subcomponent:
    • Introduced In Build:
      b25
    • Introduced In Version:
      13
    • Resolved In Build:
      b29
    • CPU:
      generic
    • OS:
      linux
    • Verification:
      Not verified

      Backports

        Description

        openjdk version "13-ea" 2019-09-17
        OpenJDK Runtime Environment (build 13-ea+25)
        OpenJDK 64-Bit Server VM (build 13-ea+25, mixed mode, sharing)

        Platform Details:
        javatestOS=Linux 3.8.13-118.34.1.el7uek.x86_64 (amd64)

        Failing tests:
        com/sun/java/swing/plaf/gtk/4928019/bug4928019.java
        com/sun/java/swing/plaf/gtk/Test6635110.java
        com/sun/java/swing/plaf/gtk/Test6963870.java

        Error Message:
        ----------System.err:(16/1077)----------
        java.lang.InternalError: Unable to load native GTK libraries
        at java.desktop/com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1421)
        at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:586)
        at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:633)
        at bug4928019.main(bug4928019.java:37)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:830)

        JavaTest Message: Test threw exception: java.lang.InternalError: Unable to load native GTK libraries
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.InternalError: Unable to load native GTK libraries

        Regression Details:
        This issue started from JDK 13 build 25, same test cases pass on JDK 13 build 24.
        Issue is reproducible in JDK14 also.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  avu Alexey Ushakov
                  Reporter:
                  akolarkunnu Abdul Kolarkunnu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: