RFR: 8238755: allow to create static lib for javafx.media on linux

Alexander Matveev almatvee at openjdk.java.net
Mon Feb 10 22:07:10 UTC 2020


On Mon, 10 Feb 2020 12:26:53 GMT, Johan Vos <jvos at openjdk.org> wrote:

> * add support for the "resource" protocol (which is used in the GraalVM URLs pointing to statically bundled resources)
> * avoid duplicate symbols with different gst plugins
> * statically register gst plugins

modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform.java line 66:

> 65:         "jrt",
> 66:         "resource"
> 67:     };

We do not support "resource" protocol in non-static build, so it is better to only enable it for static build. Not sure how to do this.

-------------

PR: https://git.openjdk.java.net/jfx/pull/109


More information about the openjfx-dev mailing list