RFR: 8255240: Mobile builds need to exclude some modules [v3]
Magnus Ihse Bursie
ihse at openjdk.java.net
Mon Nov 2 22:37:03 UTC 2020
On Mon, 2 Nov 2020 16:54:36 GMT, Johan Vos <jvos at openjdk.org> wrote:
>> It would be possible to fix configure so mobile always use headless mode. From my PoV, it seems like the natural approach. Let me know if you need help with fixing that.
>
> The problem with awt_headless is that this depends on X11 (which we don't have on iOS/Android).
> I'm not sure what the best approach is. It would need lots of changes to make that work on mobile.
> Any help is much appreciated.
Now that you mention it, I do remember some fuss long time ago about headless requiring X11. Hmmm. That means that any attempt to use headless is definitely out of bounds for this patch. Maybe the best way for this patch is then to exclude the java.desktop module for iOS and Android in Modules.gmk.
But I'll look into headless once more to see if I can figure out if it *really* needs X11 or if it's just some sloppy programming.
-------------
PR: https://git.openjdk.java.net/mobile/pull/10
More information about the mobile-dev
mailing list