RFR: 8255240: Mobile builds need to exclude some modules [v3]
Magnus Ihse Bursie
ihse at openjdk.java.net
Thu Nov 5 13:15:58 UTC 2020
On Wed, 4 Nov 2020 19:18:49 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> correct, that one is still failing on ios (Sctp.h includes linux/types.h)
>
> @johanvos If you look at make/modules/jdk.sctp/Lib.gmk, you see that the native library is excluded on macosx and aix.
>
> I'm not sure about the details here, maybe sctp support is not possible on iOS, but maybe the macos pure java implementation is what's needed on iOS as well?
Heh. I just had a look at the macos implementation, or should I say "implementation". It's basically:
private static final String message = "SCTP not supported on this platform";
public SctpChannelImpl(SelectorProvider provider) {
super(provider);
throw new UnsupportedOperationException(message);
}
so I dunno, maybe it's just as well to skip the entire module.
-------------
PR: https://git.openjdk.java.net/mobile/pull/10
More information about the mobile-dev
mailing list