Skip to content
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

[FLI-963] java: only try to load engine for supported hosts #248

Open
markphelps opened this issue Apr 22, 2024 · 1 comment
Open

[FLI-963] java: only try to load engine for supported hosts #248

markphelps opened this issue Apr 22, 2024 · 1 comment

Comments

@markphelps
Copy link
Contributor

markphelps commented Apr 22, 2024

CLibrary INSTANCE = (CLibrary) Native.load("fliptengine", CLibrary.class);

In our other client side SDKs we check the OS/Arch before loading the engine.

A user has gotten the following error when trying to use the Java client SDK on an Intel Mac:

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.UnsatisfiedLinkError: Unable to load library 'fliptengine':

Acceptance Critera:

  • Java Client should error if trying to load on unsupported platform (like we do in Python and others)

FLI-963

@markphelps markphelps changed the title java: only try to load engine for supported hosts [FLI-963] java: only try to load engine for supported hosts Apr 22, 2024
@markphelps
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant