You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synergy has a few features that are currently using reflection. This means those particular features will not work with native image without some extra meta-data.
You can either run the example once with the native image tracing agent enabled, or you can hand-craft a META-INF/native-image/synergy/reflect-config.json resource and bundle it inside your jar before native compilation.
I just gave the example a quick try, and can confirm this is needed in this case. Add the following to reflect-config.json.
The "Port forwarding" sample does not work with this configuration:
Works perfectly with fat .jar (JVM), but crashes badly when compiling against "native-image"
The text was updated successfully, but these errors were encountered: