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

Some JNI calls made without checking exceptions in glass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx20
    • javafx
    • None

      Some of the JNI method calls in glass -- at least for the Mac platform -- are make without checking for pending exceptions. This leads to warnings when running JavaFX applications.

      If you run any JavaFX application with -Xcheck:jni you will see several warnings of the following form:

      WARNING in native method: JNI call made without checking exceptions when required to from CallVoidMethod

      We should fix up the Mac glass code and check the other platforms.

      See JDK-8306030 for more information.

            jdv Jayathirth D V
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: