Old JDK-8167595 changes was done in stubGenerator_aarch64.cpp
to fix crash in cipherBlockChaining_decryptAESCrypt due to unhandled case of input cipher length value as 0.
With JDK-8159035 task found the same issue is present for other targets as well
and hence proposed to fix in core-libs Java wrapper method side.
So 8167595 changes can be reverted after JDK-8159035 fix is pushed.
Related links -
https://bugs.openjdk.java.net/browse/JDK-8159035 - 'com/sun/crypto/provider/Cipher/CTS/CTSMode.java test crashed due to unhandled case of cipher length value as 0'
https://bugs.openjdk.java.net/browse/JDK-8167595 - 'AArch64: SEGV in stub code cipherBlockChaining_decryptAESCrypt'
https://bugs.openjdk.java.net/browse/JDK-8076112 - 'Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics'
RFR: 8159035 - http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-November/044560.html
RFR: 8167595 - http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-October/024862.html
http://mail.openjdk.java.net/pipermail/aarch64-port-dev/2016-October/003801.html