RFR: 8238755: allow to create static lib for javafx.media on linux
Johan Vos
jvos at openjdk.java.net
Tue Feb 11 10:00:18 UTC 2020
On Mon, 10 Feb 2020 22:06:40 GMT, Alexander Matveev <almatvee 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.
As an alternative, the "iPod" strategy can be used.
For some reasons, the "ipod-library" protocol is supported in the code (Locator), and if that is found, most connection code is bypassed.
That strategy seems to be much more difficult to maintain though.
-------------
PR: https://git.openjdk.java.net/jfx/pull/109
More information about the openjfx-dev
mailing list