提交 0a4cd333 编写于 作者: A azvegint

8058739: The test case failed as "ERROR in native method:...

8058739: The test case failed as "ERROR in native method: ReleasePrimitiveArrayCritical: failed bounds check"
Reviewed-by: prr, serb
上级 092f0447
...@@ -670,7 +670,7 @@ Java_sun_java2d_windows_GDIRenderer_doFillPoly ...@@ -670,7 +670,7 @@ Java_sun_java2d_windows_GDIRenderer_doFillPoly
if (ypoints != NULL) { if (ypoints != NULL) {
pPoints = TransformPoly(xpoints, ypoints, transx, transy, pPoints = TransformPoly(xpoints, ypoints, transx, transy,
tmpPts, &npoints, FALSE, FALSE); tmpPts, &npoints, FALSE, FALSE);
env->ReleasePrimitiveArrayCritical(ypointsarray, xpoints, JNI_ABORT); env->ReleasePrimitiveArrayCritical(ypointsarray, ypoints, JNI_ABORT);
} }
env->ReleasePrimitiveArrayCritical(xpointsarray, xpoints, JNI_ABORT); env->ReleasePrimitiveArrayCritical(xpointsarray, xpoints, JNI_ABORT);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册