changeset 10060:6241c11a8f8b

8058739: The test case failed as "ERROR in native method: ReleasePrimitiveArrayCritical: failed bounds check" Reviewed-by: prr, serb
author azvegint
date Tue, 23 Sep 2014 20:17:56 +0400
parents 36085452a954
children 2d9db67da290
files src/windows/native/sun/java2d/windows/GDIRenderer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/java2d/windows/GDIRenderer.cpp	Fri Sep 26 18:43:44 2014 +0400
+++ b/src/windows/native/sun/java2d/windows/GDIRenderer.cpp	Tue Sep 23 20:17:56 2014 +0400
@@ -670,7 +670,7 @@
         if (ypoints != NULL) {
             pPoints = TransformPoly(xpoints, ypoints, transx, transy,
                                 tmpPts, &npoints, FALSE, FALSE);
-            env->ReleasePrimitiveArrayCritical(ypointsarray, xpoints, JNI_ABORT);
+            env->ReleasePrimitiveArrayCritical(ypointsarray, ypoints, JNI_ABORT);
         }
         env->ReleasePrimitiveArrayCritical(xpointsarray, xpoints, JNI_ABORT);
     }