我在我的项目中使用带有 NSS(版本 3.4.12)的 jre6,它工作正常。
我最近更新到 jre7 update 6(2012 年 8 月 14 日发布),突然应用程序停止工作,出现以下异常。
java.lang.UnsatisfiedLinkError: sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(J)[B
at sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(Native Method)
at sun.security.pkcs11.P11Digest.clone(P11Digest.java:308)
at java.security.MessageDigest$Delegate.clone(Unknown Source)
at sun.security.ssl.HandshakeHash.cloneDigest(Unknown Source)
at sun.security.ssl.HandshakeHash.getMD5Clone(Unknown Source)
at sun.security.ssl.HandshakeMessage$Finished.getFinished(Unknown Source)
at sun.security.ssl.HandshakeMessage$Finished.<init>(Unknown Source)
at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
如果我使用 jre 7 update 5,它的工作正常!!!我浏览了更新 6 http://www.oracle.com/technetwork/java/javase/7u6-relnotes-1729681.html的发行说明,但我找不到任何可能导致的内容。
任何帮助表示赞赏。