Skip to content

feat: support GraalVM native image - #587

Merged
devopvoid merged 1 commit into
mainfrom
feat/graalvm-native-image
Nov 11, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/graalvm-native-image

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Ships JNI, reflection and resource metadata for webrtc-java and webrtc-java-media, so an application compiles into a native image without configuration of its own. The library is carried inside the image or found next to the executable.

  • Tests derive the rules from the C++ sources and compiled classes, and fail on a missing or stale entry.
  • AudioTrack collects RTP packets for a sink whose class reflection cannot answer for, instead of silently dropping them.
  • NativeImageExample checks itself in a native image built with --exact-reachability-metadata; the new native-image (linux_x86-64) job runs it.
  • Guide: GraalVM Native Image.

Ship JNI, reflection and resource metadata for webrtc-java and
webrtc-java-media, kept in step with the native code by tests, and a
self-checking example built with --exact-reachability-metadata in CI.
@devopvoid
devopvoid merged commit 77b4d0b into main Nov 11, 2026
10 checks passed
@devopvoid
devopvoid deleted the feat/graalvm-native-image branch November 11, 2026 07:42
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.

1 participant