[Rev 03] RFR: 8238755: allow to create static lib for javafx.media on linux
Johan Vos
jvos at openjdk.java.net
Fri Feb 21 12:15:53 UTC 2020
On Thu, 20 Feb 2020 21:55:37 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> The pull request has been updated with 4 additional commits.
>
> modules/javafx.base/src/main/java/com/sun/javafx/PlatformUtil.java line 74:
>
>> 73: private static final boolean IOS = os.startsWith("iOS");
>> 74: private static final boolean STATIC_BUILD = "Substrate VM".equals(System.getProperty("java.vm.name"));
>> 75:
>
> Is it always going to be the case that STATIC_BUILD == is SubStrate VM?
That's a good question. At this moment, there is a 1-1 link between statically linked images and Substrate VM.
In case there will be more VM's that are statically linked with the applications and resources, I assume it will be beneficial to add a property in the "java." space to reflect this. There are more parts in OpenJDK that can benefit from different treatment in case of a statically linked image.
-------------
PR: https://git.openjdk.java.net/jfx/pull/109
More information about the openjfx-dev
mailing list