changeset 10729:1fef64b2946f

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 d5735bad88b3
children 54afdf196017
files src/java.desktop/windows/native/libawt/java2d/windows/GDIRenderer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/windows/native/libawt/java2d/windows/GDIRenderer.cpp	Tue Sep 23 16:05:05 2014 +0400
+++ b/src/java.desktop/windows/native/libawt/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);
     }