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

UnsatisfiedLinkError: InternAtom

XMLWordPrintable

    • b49
    • x86
    • linux
    • Verified

      Run the following simple test on Linux, 6.0b40+ workspace. The following exception will be thrown:
      Exception in thread "main" java.lang.UnsatisfiedLinkError: InternAtom
              at sun.awt.X11.XlibWrapper.InternAtom(Native Method)
              at sun.awt.X11.XAtom.<init>(XAtom.java:250)
              at sun.awt.X11.XAtom.<init>(XAtom.java:216)
              at sun.awt.X11.XAtom.get(XAtom.java:161)
              at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:1783)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:163)
              at java.awt.Toolkit$2.run(Toolkit.java:816)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:808)
              at HeadlessAddAWTEventListenerTest.main(HeadlessAddAWTEventListenerTest.java:17)

      Test:
      import java.awt.*;
      import java.awt.event.*;

      public class HeadlessAddAWTEventListenerTest
      {
          public static void main(String[] args)
          {
              System.setProperty("java.awt.headless", "true");
              Toolkit t = Toolkit.getDefaultToolkit();
          }
      }

      It works with b39.
      ###@###.### 2005-06-08 14:31:31 GMT

            art Artem Ananiev (Inactive)
            dmikhalksunw Denis Mikhalkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: