Bug ID: JDK-8016249 CipherInputStream in decrypt mode fails on...
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Create a CipherInputStream over a valid AES/GCM ciphertext with a Cipher in DECRYPT_MODE 2. Read bytes from the input stream until they are exhausted 3. Close the input stream.