RFR: 8255240: Mobile builds need to exclude some modules [v3]

Tran Khanh Duy github.com+40482367+khanhduytran0 at openjdk.java.net
Wed Nov 4 09:38:00 UTC 2020


On Wed, 4 Nov 2020 09:29:03 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> Fine. If you don't need or want java.desktop, then I suggest you exclude that module for iOS/Android.
>> 
>> I still agree with Bob that keeping java.desktop but not building the native libs sounds problematic, since it will make stuff fail surprisingly at runtime.
>> 
>> If you need part, but not all, of java.desktop, then for this patch I don't really care, but if so, that is something that needs to be discussed seriously on how to handle before we can start thinking about upstreaming mobile into mainline.
>
> Also, I'm a bit curious of what other places the X11 headers were needed?

Maybe try add missing includes before exclude?

-------------

PR: https://git.openjdk.java.net/mobile/pull/10


More information about the mobile-dev mailing list