Duplicate :
|
|
Duplicate :
|
|
Relates :
|
Test compiler/codegen/7184394/TestAESMain.java fails with the following exception: javax.crypto.AEADBadTagException: Tag mismatch! at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:517) at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1037) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:974) at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:479) at javax.crypto.Cipher.doFinal(Cipher.java:2377) at TestAESDecode.run(TestAESDecode.java:41) at TestAESMain.main(TestAESMain.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:502) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:745) This exception doesn't happen with -XX:-UseGHASHIntrinsics (see JDK-8073108). Reproduces only on 32-bit builds. Have seen failures on linux and windows
|