为什么我的控制台会收到警告的垃圾邮件

时间:2015-08-19 04:11:14

标签: java java-native-interface java-8

在运行我的应用程序后,从_51更新到JDK 1.8.0_60后,我不断将以下消息打印到我的控制台:

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

堆栈跟踪有时会有所不同,但这是一个例子:

WARNING in native method: JNI call made without checking exceptions when required to from CallStaticVoidMethodV
    at sun.java2d.DefaultDisposerRecord.invokeNativeDispose(Native Method)
    at sun.java2d.DefaultDisposerRecord.dispose(DefaultDisposerRecord.java:42)
    at sun.java2d.Disposer.run(Disposer.java:151)
    at java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案