RFR: 8374522: Mobile: Add iOS as a platform in OperatingSystem.java
Kolby Moroz Liebl
duke at openjdk.org
Sun Feb 1 22:48:34 UTC 2026
On Sat, 27 Dec 2025 07:13:09 GMT, Kolby Moroz Liebl <duke at openjdk.org> wrote:
> I don't know how but Kotlin calls OperatingSystem.IOS, adding iOS as an OperatingSystem fixed my problems, it had something to do with Kotlin's logging library if I remember correctly during initialization it calls something with OperatingSystem.IOS then it panics because IOS isn't an option in the OperatingSystem Class
My contributor agreement is under review right now
I run this jar on iOS https://github.com/Suwayomi/Suwayomi-Server and here is my iOS project https://github.com/KolbyML/Mangatan/tree/master/bin/mangatan_ios
Suwayomi-Server.jar initalizes Kotlin's logger which calls OperatingSystem.iOS, but then I got an error because the modules or static libs I built from openjdk/mobile OperatingSystem didn't have iOS as a member, when I added the member the panic went away
Sure I will submit an issue there
I submitted a bug report
<img width="1358" height="573" alt="image" src="https://github.com/user-attachments/assets/af62ca9a-9c98-4547-89c9-8b0a8d4c4d9d" />
-------------
PR Comment: https://git.openjdk.org/mobile/pull/44#issuecomment-3693781035
PR Comment: https://git.openjdk.org/mobile/pull/44#issuecomment-3707026099
PR Comment: https://git.openjdk.org/mobile/pull/44#issuecomment-3707030798
More information about the mobile-dev
mailing list