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

Headless Testsuite fails throwing UnsatisfiedLinkError for Fonts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      beta2
    • CPU:
      generic, sparc
    • OS:
      solaris, solaris_7
    • Verification:
      Verified

      Description

      In Solaris Headless Testsuite fails throwing UnsatisfiedLinkError when different methods related to Fonts is called.

          BEGIN: java.awt.Component: do_setFont_46
      doFont Dialog:8
      java.lang.UnsatisfiedLinkError: setNativeFontPath
              at sun.awt.font.NativeFontWrapper.setNativeFontPath(Native Method)
              at sun.awt.X11GraphicsEnvironment.addToFontPath(X11GraphicsEnvironment.java:380)
              at sun.awt.X11GraphicsEnvironment.registerFontFile(X11GraphicsEnvironment.java:414)
              at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:798)
              at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:657)
              at sun.awt.X11GraphicsEnvironment.initCompositeFonts(X11GraphicsEnvironment.java:579)
              at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:105)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:84)
              at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:84)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:33)
              at sun.reflect.InflatableConstructorAccessorImpl.newInstance(InflatableConstructorAccessorImpl.java:38)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
              at java.lang.Class.newInstance0(Class.java:290)
              at java.lang.Class.newInstance(Class.java:249)
              at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:64)
              at java.awt.Font.initializeFont(Font.java:274)
              at java.awt.Font.<init>(Font.java:310)
              at java_awt_Component.do_setFont_46(java_awt_Component.java:1361)
              at java_awt_Component.run(java_awt_Component.java:3628)
              at java.lang.Thread.run(Thread.java:579)

      Testsuite available at
      /net/sqesvr/export/awt/awt_ws/Headless

      Attached is the failiure scenarios which throws UnsatisfiedLinkError and the complete Test Report. I could reproduce the failiure in both SolSparc 8 and SolSparc 9

      This is working fine in Merlin Beta.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                rpullanisunw Rakesh Pullanikkad (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: