Skip to content

Add Arch.unknown #22

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

Merged
merged 2 commits into from
Apr 27, 2023
Merged

Add Arch.unknown #22

merged 2 commits into from
Apr 27, 2023

Conversation

nedtwigg
Copy link
Member

@nedtwigg nedtwigg commented Apr 27, 2023

When OS.getNative or getRunning is called on an OS which is unsupported by SWT, instead of throwing an exception, we now return Arch.unknown. You can't get platform-specific artifacts for it, but if you don't need them then you get to keep running instead of dying.

@nedtwigg nedtwigg merged commit cfced59 into main Apr 27, 2023
@nedtwigg nedtwigg deleted the feat/arch-unknown branch April 27, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IllegalArgumentException: Unknown os.arch aarch64
1 participant