为什么80%的码农都做不了架构师?>>>
Caused by: java.lang.RuntimeException: PANIC: Unreachable code reached.at cryptix.jce.provider.cipher.BlockCipher.engineGetParameters(BlockCipher.java:244)at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1005)at javax.crypto.Cipher.init(Cipher.java:1209)at javax.crypto.Cipher.init(Cipher.java:1153)at com.x.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition$JavaCrypto.<init>(DefaultCryptoBeanDefinition.java:62)at com.x.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition.getLocalCrypto(DefaultCryptoBeanDefinition.java:40)at com.x.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition.encrypt(DefaultCryptoBeanDefinition.java:154)at com.x.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition.encrypt(DefaultCryptoBeanDefinition.java:139)
遇到这个问题老是想不起,特意记下,是因为我们的jdk需要替换security下面的2个jar
local_policy.jar US_local_policy.jar