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

-Xcheck:jni indicates there are missing exception checks in Glass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8, 9
    • javafx
    • Windows 10 64-bit

      Running my JavaFX application with -Xcheck:jni resulted in several warnings from Glass.

      E.g.:

      WARNING in native method: JNI call made without checking exceptions when required to from CallStaticObjectMethodV
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
              at com.sun.glass.ui.win.WinApplication$$Lambda$57/665296081.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)



      WARNING in native method: JNI call made without checking exceptions when required to from CallStaticObjectMethodV
              at com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method)
              at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:218)
              at com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:511)
              at com.sun.glass.ui.EventLoop.enter(EventLoop.java:107)
              at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:583)
              at javafx.stage.Stage.showAndWait(Stage.java:474)

            ckyang Chien Yang (Inactive)
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: