<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Good Morning,</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
As documented in much detail in the following ticket, 21.0.7 broke Aarch64 support on the Cortex A53 CPU.</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<a href="https://github.com/adoptium/adoptium-support/issues/1295">https://github.com/adoptium/adoptium-support/issues/1295</a></div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
There is a reproducer in the Ticket, basically the steps are:</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: disc;">
<li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">Setup Ubuntu cloud image on qemu-system-aarch64, and use a Cortex A53 CPU</div>
</li><li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">Download and use Java 21.0.7+6 - I tried Temurin, Microsoft and Azul. All misbehave.</div>
</li><li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">"Using" means e.g. running <code>./gradlew tasks</code> on any freshly downloaded repo, e.g. the gradle sample repo.</div>
</li><li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">... or running any more complex java program, which immediately exhibits strange behavior like these:</div>
</li><ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: circle;">
<li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof"><code>java.security.ProviderException: Cannot find aliases for HmacSHA512</code></div>
</li><ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: square;">
<li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">Note: It is not a specific algorithm which is not found, it just randomly fails on very different ones.</div>
</li></ul>
<li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof"><code>java.lang.IllegalArgumentException: java.lang.ClassFormatError: Duplicate method name "toString" with signature "()Ljava.lang.String;" in class file jdk/proxy2/$Proxy3</code></div>
</li><li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof"><code>Exception in thread "main" java.lang.annotation.IncompleteAnnotationException: java.lang.annotation.Retention missing element value</code></div>
</li><li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">... and even more ...</div>
</li><ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: square;">
<li style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<div class="elementToProof">Another note: of course the very same binaries run without any issue on other CPUs, like the A57 for instance.</div>
</li></ul>
</ul>
</ul>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
I <b>first</b> thought that this is an issue with my actual A53 hardware I have here. However since this behavior is the same also on an emulated A53 in QEMU: here I am reporting 🙂</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Versions <b>before</b> 21.0.7(+?) do <b>not</b> expose these problems. I can run any program just fine on 21.0.6+7 and older.</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
The GitHub issue has a lot of information already present, but I can provide more on demand - both from an emulator as well as the real hardware.</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Any help would be greatly appreciated - even if it is a statement that A53 is no longer supported (which would be a bummer, we have a lot of hardware with those CPUs).</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Best, Markus</div>
<font face="Arial,Helvetica" size="-1"><br>
SSI Schäfer Software Development GmbH | Friesachstraße 15 | 8114 Friesach | Austria
<br>
Registered Office: Friesach | Commercial Register: 617462h | VAT no. ATU80145424<br>
Commercial Court: Landesgericht für Zivilrechtssachen Graz<br>
Managing Directors: Manfred Muckenhumer, Barbara Schlosser<br>
<br>
Unsere Hinweise zum Umgang mit personenbezogenen Daten finden Sie <a href="https://www.ssi-schaefer.com/de-at/datenschutz" target="_blank">
hier</a>. <br>
You can find our information on the handling of personal data <a href="https://www.ssi-schaefer.com/en-de/privacy" target="_blank">
here</a>. <br>
</font>
</body>
</html>