-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b01
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2217151 | 7u4 | Sean Coffey | P3 | Closed | Fixed | b10 |
JDK-2217152 | OpenJDK6 | Sean Coffey | P3 | Resolved | Fixed | b25 |
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.
===================================
/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.
- backported by
-
JDK-2217152 Javah should use the freshly built classes instead of those from the BOOTDIR jdk
-
- Resolved
-
-
JDK-2217151 Javah should use the freshly built classes instead of those from the BOOTDIR jdk
-
- Closed
-
- relates to
-
JDK-7130959 Tweak 7058133 fix for JDK 8 (javah makefile changes)
-
- Closed
-