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

java/awt/font/JNICheck/FreeTypeScalerJNICheck.java still fails with JNI warning on some Windows configurations

XMLWordPrintable

    • 2d
    • b11

        Test java/awt/font/JNICheck/FreeTypeScalerJNICheck.java introduced with JDK-8269223 still shows the JNI warning below on some of our Windows server 2019 configurations.

        A fix was attempted with JDK-8276809 but after integration it was deemed premature and had to be backouted under JDK-8323330.

        :stdErr:
        Thu Oct 28 01:27:10 CEST 2021
        stdout: [WARNING in native method: JNI call made without checking exceptions when required to from CallStaticVoidMethodV
                       at sun.awt.Win32GraphicsEnvironment.initDisplay(java.desktop@18.0.0.1-internal/Native Method)
                       at sun.awt.Win32GraphicsEnvironment.initDisplayWrapper(java.desktop@18.0.0.1-internal/Win32GraphicsEnvironment.java:95)
                       at sun.awt.Win32GraphicsEnvironment.<clinit>(java.desktop@18.0.0.1-internal/Win32GraphicsEnvironment.java:63)
                       at sun.awt.PlatformGraphicsInfo.createGE(java.desktop@18.0.0.1-internal/PlatformGraphicsInfo.java:34)
                       at java.awt.GraphicsEnvironment$LocalGE.createGE(java.desktop@18.0.0.1-internal/GraphicsEnvironment.java:93)
                       at java.awt.GraphicsEnvironment$LocalGE.<clinit>(java.desktop@18.0.0.1-internal/GraphicsEnvironment.java:84)
                       at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(java.desktop@18.0.0.1-internal/GraphicsEnvironment.java:106)
                       at FreeTypeScalerJNICheck.runTest(FreeTypeScalerJNICheck.java:53)
                       at FreeTypeScalerJNICheck.main(FreeTypeScalerJNICheck.java:44)

              clanger Christoph Langer
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: