<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Diffoscope team,</p>
<p>We discovered inconsistent behavior while running the tool for
compiled java classes.</p>
<p>When running in Ubuntu Jammy with libmagic 5.42, the java classes
were being compared as java bytecode,<br>
as expected.<br>
</p>
<p>When running in SUSE 15.5, with libmagic 5.32 the java classes
were being compared as hexdumps.</p>
<p>We tracked the issue and found that the retrieved magic contained
"Cafe Babe" at the beginning, thus<br>
the corresponding <a
href="https://salsa.debian.org/reproducible-builds/diffoscope/-/blob/master/diffoscope/comparators/java.py#L78">java
regex</a> failed to match.</p>
<p>Best<br>
Javier<br>
</p>
</body>
</html>