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

5 JCK tests failing with -Xcheck:jni flag

XMLWordPrintable

    • 12
    • x86
    • solaris_9

      When running JCK runtime tests on 1.3.1_12 build 1 using the -Xcheck:jni flag 5 tests fail. These are:
      api/javax_swing/JPasswordField/descriptions.html#setgetXXX
      api/javax_swing/text/DefaultEditorKit/CopyAction/index.html#SubCtors
      api/javax_swing/text/DefaultEditorKit/CutAction/index.html#SubCtors
      api/javax_swing/text/DefaultEditorKit/PasteAction/index.html#SubCtors
      api/javax_swing/text/JTextComponent/index.html#copy_paste

      The error that comes up for these tests are:

      FATAL ERROR in native method: Bad global or local ref passed to JNI
      at sun.awt.motif.X11Selection.pGetTransferTargets(Native Method)
      at sun.awt.motif.SelectionThread.run(X11Selection.java:302)

      I ran the tests on a Solaris 9/x86 update 5.

            chegar Chris Hegarty
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: