GeezerVison is showing github.com — [BUG] AA64 bin in native-windows-x86_64 jar · Issue #226 · hyperxpro/Brotli4j
[BUG] AA64 bin in native-windows-x86_64 jar #226
Labels
bugSomething isn't working Description
Describe the bug
The maven artifact com.aayushatharva.brotli4j:native-windows-x86_64:1.19.0 contains a dll for AA64.
To Reproduce
Steps to reproduce the behavior:
- Download artifact jar
- Extract brotli.dll
- Run dumpbin /headers brotli.dll
- Got this output:
>dumpbin /headers brotli.dll
Microsoft (R) COFF/PE Dumper Version 14.44.35214.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file brotli.dll
PE signature found
File Type: DLL
FILE HEADER VALUES
AA64 machine (ARM64)
...
OR
- Add dependencies by Gradle:
implementation group: 'com.aayushatharva.brotli4j', name: 'brotli4j', version: '1.19.0'
runtimeOnly group: 'com.aayushatharva.brotli4j', name: 'native-windows-x86_64', version: '1.19.0'
- Do this:
Brotli4jLoader.ensureAvailability();
- Got exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to load Brotli native library
at com.aayushatharva.brotli4j.Brotli4jLoader.ensureAvailability(Brotli4jLoader.java:108)
at Main.main(Main.java:7)
Caused by: java.lang.UnsatisfiedLinkError: C:\path\com_aayushatharva_brotli4j_526979550604300\brotli.dll: Can't load ARM 64-bit .dll on a AMD 64-bit platform
Expected behavior
IDK, maybe binaries for x86_64?
Platform (please complete the following information):
- Device: x86_64
- OS: Windows 10
- Java Version 11
Activity
hyperxpro commented on Aug 19, 2025
Hello @RomanQed
Thanks for flagging this. Indeed, this is a bug. The pipeline messed up somehow. I will patch this soon.
Reacted by Лампа Торшеров
RomanQed commented on Aug 19, 2025
hyperxpro commented on Aug 21, 2025
Reacted by Лампа Торшеров
added a commit that references this issue
on Aug 22, 2025This issue will close once commit f90d59b is merged into the 'release-workflow' branch.f90d59b
Metadata
Metadata
bugSomething isn't working Development
No branches or pull requestsIssue actions