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

jdk118c - all awt_interactive tests fail on Solaris 2.5.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.8
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_2.5.1

      Description

      jdk118c - all awt_interactive tests fail on Solaris 2.5.1

      All JCK awt interactive tests fail due to java.lang.UnsatisfiedLinkError: no awt in shared library path. The affects JavaTest, JCK, and regression tests that use awt interactively.


      JCK Failure:
      this is a typical JCK failure we experienced when running the awt portion.
      runner starting: /net/tapas/export0/JCK-116a/tests/api/java_awt/interactive/SPaneTests.html
      test: api/java_awt/interactive/SPaneTests.html#SPaneTest0004
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/net/tapas/export0/JCK-116a/tests/../classes:/net/tapas/export0/JCK-116a/javatest.jar DISPLAY=conway:0.0 HOME=/home/tzhang LD_LIBRARY_PATH=/net/tapas/export0/JCK-116a/tests/../lib:/net/tapas/export0/JCK-116a/tests/../lib_solaris: /net/tapas/export0/jdk118c/solaris/bin/java -native -verify javasoft.sqe.tests.api.java.awt.interactive.ScrollPane.SPaneTests -TestCaseID SPaneTest0004
      command result: Failed. java.lang.UnsatisfiedLinkError: no awt in shared library path
      test result: Failed. java.lang.UnsatisfiedLinkError: no awt in shared library path
      runner finished: /net/tapas/export0/JCK-116a/tests/api/java_awt/interactive/SPaneTests.html


      Regression Failure:
      When running the regression awt regression tests we get the follwing error:
      /net/tapas/export4/regress118/test/java/awt/Canvas/FunctionKeyTest 203 % java FunctionKeyTest
      ld.so.1: /home/jsl/jdk/jdk1.1.8/solaris/bin/sparc/green_threads/java: fatal: relocation error: symbol not found: XtGetKeyboardFocusWidget: referenced in /home/jsl/jdk/jdk1.1.8/solaris/lib/sparc/green_threads/libawt.so (libawt.so)
      java.lang.UnsatisfiedLinkError: no awt in shared library path
              at java.lang.Runtime.loadLibrary(Runtime.java)
              at java.lang.System.loadLibrary(System.java)
              at
              at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394)
              at java.awt.Window.getToolkit(Window.java:231)
              at java.awt.Frame.addNotify(Frame.java:203)
              at java.awt.Window.pack(Window.java:121)
              at TestDialog.<init>(FunctionKeyTest.java:80)
              at FunctionKeyTest.start(FunctionKeyTest.java:40)
              at FunctionKeyTest.main(FunctionKeyTest.java:21)

      This is consistent with the errors we find when running any of the awt interactive tests. The error ava.lang.UnsatisfiedLinkError: no awt in shared library path is thrown.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              joleesunw John Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: