JDK-8039418 : [macosx] Calling JNI functions in the scope of Get/ReleasePrimitiveArrayCritical
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • Submitted: 2014-04-08
  • Updated: 2014-07-29
  • Resolved: 2014-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b12Fixed
Description
Some tests on macosx produces this warning:
Warning: Calling other JNI functions in the scope of Get/ReleasePrimitiveArrayCritical or Get/ReleaseStringCritical

Example:
closed/sun/java2d/OpenGL/DrawImageBg.java
Comments
Looks like reproduced on the osx+retina.
08-04-2014