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

java.lang.UnsatisfiedLinkError: no osxui in java.library.path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 15
    • 12, 13
    • infrastructure
    • generic
    • os_x

      This issue observed same binary run execution of client sanity test cases which are under http://hg.openjdk.java.net/jdk/jdk/file/2fd0422ac495/test/jdk/sanity/client .

      java version "12-ea" 2019-03-19
      Java(TM) SE Runtime Environment (build 12-ea+30)
      Java HotSpot(TM) 64-Bit Server VM (build 12-ea+30, mixed mode, sharing)

      Stack traces:
      test ProgressBarDemoTest.test("com.apple.laf.AquaLookAndFeel"): failure
      java.lang.UnsatisfiedLinkError: no osxui in java.library.path: [/Users/gtee/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
      at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2660)
      at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:827)
      at java.base/java.lang.System.loadLibrary(System.java:1902)
      at java.desktop/com.apple.laf.AquaLookAndFeel$1.run(AquaLookAndFeel.java:137)
      at java.desktop/com.apple.laf.AquaLookAndFeel$1.run(AquaLookAndFeel.java:135)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:310)
      at java.desktop/com.apple.laf.AquaLookAndFeel.initialize(AquaLookAndFeel.java:135)
      at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:586)
      at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:633)
      at ProgressBarDemoTest.test(ProgressBarDemoTest.java:61)
      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 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      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:115)
      at java.base/java.lang.Thread.run(Thread.java:835)

            Unassigned Unassigned
            akolarkunnu Abdul Kolarkunnu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: