After adding one more argument to the native method "nssGetModuleList" of the PKCS11 class sun.security.pkcs11.Secmod, the build fails w/ the following output:
===================================
/build/solaris-i586/tmp/sun/sun.security.pkcs11/j2pkcs11/obj/p11_digest.o ../../../../src/share/native/sun/security/pkcs11/wrapper/p11_digest.c
"../../../../src/share/native/sun/security/pkcs11/j2secmod.c", line 76: identifier redeclared: Java_sun_security_pkcs11_Secmod_nssGetModuleList
current : function(pointer to pointer to const struct JNINativeInterface_ {..}, pointer to struct _jobject {..}, long long) returning pointer to struct _jobject {..}
previous: function(pointer to pointer to const struct JNINativeInterface_ {..}, pointer to struct _jobject {..}, long long, pointer to struct _jobject {..}) returning pointer to struct _jobject {..} : "/w/jfxhudson/hudson-data/jobs/kb-tl/workspace/build/solaris-i586/tmp/sun/sun.security.pkcs11/j2pkcs11/CClassHeaders/sun_security_pkcs11_Secmod.h", line 49
cc: acomp failed for ../../../../src/share/native/sun/security/pkcs11/j2secmod.c
make381[4]: *** [/w/jfxhudson/hudson-data/jobs/kb-tl/workspace/build/solaris-i586/tmp/sun/sun.security.pkcs11/j2pkcs11/obj/j2secmod.o] Error 1
make381[4]: *** Waiting for unfinished jobs....
===================================
This is due to a problem in the sun/security/pkcs11/Makefile and needs to be fixed.