--- a/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c Mon Oct 24 20:55:08 2011 +0100
+++ b/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c Mon Oct 24 21:03:41 2011 +0100
@@ -165,7 +165,7 @@
if (ckMechanism.pParameter != NULL_PTR) {
free(ckMechanism.pParameter);
}
- JNU_ThrowOutOfMemoryError(env, 0);
+ throwOutOfMemoryError(env, 0);
return NULL;
}
ckpPublicKeyHandle = ckpKeyHandles; /* first element of array is Public Key */
@@ -253,7 +253,7 @@
if (ckMechanism.pParameter != NULL_PTR) {
free(ckMechanism.pParameter);
}
- JNU_ThrowOutOfMemoryError(env, 0);
+ throwOutOfMemoryError(env, 0);
return NULL;
}