PANIC: Unreachable code reached.

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.greenline.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition$JavaCrypto.<init>(DefaultCryptoBeanDefinition.java:62)
	at com.greenline.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition.getLocalCrypto(DefaultCryptoBeanDefinition.java:40)
	at com.greenline.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition.encrypt(DefaultCryptoBeanDefinition.java:154)
	at com.greenline.framework.mursi.beans.crypto.DefaultCryptoBeanDefinition.encrypt(DefaultCryptoBeanDefinition.java:139)


遇到这个问题老是想不起,特意记下,是因为我们的jdk需要替换security下面的2个jar

local_policy.jar US_local_policy.jar



你可能感兴趣的:(PANIC: Unreachable code reached.)