RFR: 8333795: [mobile] allow building jdk native libs for ios/android
Johan Vos
jvos at openjdk.org
Fri Jun 14 15:39:36 UTC 2024
On Fri, 14 Jun 2024 12:03:05 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> This PR contains the changes that are needed to build the native JDK class libraries for ios/android.
>> After a successful configuration, invoking
>> `make static-libs`
>> should produces static libs for the JDK classes.
>
> src/java.base/macosx/native/libjli/java_md_macosx.m line 279:
>
>> 277:
>> 278: #ifdef __IOS__
>> 279: static jboolean awtLoaded = 0;
>
> How come this change is needed? Why do `BOOL` not work on iOS? Or contrary, could `jboolean` work on macOS as well?
BOOL is different on iOS versus macOS.
mac code should work with jboolean.
Looking at it again now, I don't see where `awtLoaded` is used at all, so that could just go away unless I'm missing something?
-------------
PR Review Comment: https://git.openjdk.org/mobile/pull/26#discussion_r1640005295
More information about the mobile-dev
mailing list