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

modal dialog closes with fatal error if -Xcheck:jni is set

XMLWordPrintable

    • b01
    • b27
    • generic, x86
    • windows, windows_2000, windows_xp, windows_vista

        Using JDK7 run sample with a modal dialog like Font2DTest from the jfc folder:
        ..\JDK7.0b19\bin\java -Xcheck:jni -jar Font2DTest.jar

        Steps to reproduce:
        1) Open File menu
        2) select Print menu item
        3) press Cancel button in the appeared dialog

        FATAL ERROR in native method: Bad global or local ref passed to JNI
                at sun.awt.windows.WToolkit.eventLoop(Native Method)
                at sun.awt.windows.WToolkit.run(WToolkit.java:285)
                at java.lang.Thread.run(Thread.java:659)

        Reproducible always. Not reproducible with JDK6.

              dav Andrei Dmitriev (Inactive)
              dav Andrei Dmitriev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: