-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
None
-
mantis
-
generic
-
windows_nt
Name: osR10079 Date: 10/03/2002
documentation of Get/ReleasePrimitiveArrayCritical() says
that no JNI-calls are allowed between get and release. But in
WFontMetrics.bytesWidth (awt_Font.cpp) we have the following code:
pStrBody = (char *)env->GetPrimitiveArrayCritical(str, 0);
jintArray array = (jintArray)env->GetObjectField(self,
AwtFont::widthsID);
env->ReleasePrimitiveArrayCritical(array, widths, 0);
This usage is wrong and should be corrected.
======================================================================
- relates to
-
JDK-4757223 some JNI-warning reported by -Xcheck:jni option (2D)
- Resolved
-
JDK-4726821 Graphics2DTest.java catch null pointer exception
- Closed