JDK-8169529 : AArch64: Revert old JDK-8167595 changes after JDK-8159035 fix is pushed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2016-11-10
  • Updated: 2016-12-22
  • Resolved: 2016-11-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b150Fixed
Related Reports
Relates :  
Relates :  
Description
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
Comments
RFR thread - http://mail.openjdk.java.net/pipermail/aarch64-port-dev/2016-November/003896.html
18-11-2016