-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows on ARM Support #707
Conversation
Now that the aarch64 library is added, this check is unnecessary.
@DevCharly ready for review 😄 |
- changed DLL filename from aarch64 to arm64 - publish ARM DLL to Maven Central
, PR #707) built by GitHub Actions: https://github.com/JFormDesigner/FlatLaf/actions/runs/5771160235 locally signed Windows DLLs with FormDev Software GmbH code signing certificate
@@ -55,12 +55,12 @@ private static void initialize() { | |||
|
|||
String classifier; | |||
String ext; | |||
if( SystemInfo.isWindows_10_orLater ) { | |||
// Windows: requires Windows 10/11 | |||
if( SystemInfo.isWindows_10_orLater && (SystemInfo.isX86 || SystemInfo.isX86_64 || SystemInfo.isAARCH64) ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have re-added this check for platforms to be sure to exclude unknown platforms.
E.g. Windows 10 ARM 32 bit (not sure whether Java exists for this platform).
Theoretically Microsoft could port Windows to RISC-V in the future. We don't know 😺
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK the only time a Windows variant for ARM 32bit existed (except Windows Mobile) was Windows RT, which I think is safe to say dead. Never mind... Windows IoT Core does support ARM32. Still, Java is not supported on that platform. But yeah, I guess it wouldn't hurt to keep the check there. :-)
@syoon2 thanks for your contribution 👍 |
Closes #443
This PR adds native library support for Windows on ARM.
Verification steps