Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native is not compatible with JDK 18 #746

Closed
4 of 6 tasks
leotm opened this issue Jul 3, 2022 · 1 comment
Closed
4 of 6 tasks

React Native is not compatible with JDK 18 #746

leotm opened this issue Jul 3, 2022 · 1 comment
Labels
android Native Android changes (Java, Gradle, Kotlin) Help Answered :suspect: Issues ideal for external contributors. 🐞 Bugerino: Summin' ain't work'n jimmy new arch Fabric / TurboModules / JSI changes p: Facebook Partner: Meta p: Google Partner: Google
Milestone

Comments

@leotm
Copy link
Owner

leotm commented Jul 3, 2022

Context

tl;dr: RN 0.68+ JDK 18 new arch Android debug-mode java.lang.OutOfMemoryError

Gradle 7.4.2 -> 7.5-rc-3 (for JDK 18 support) no bueno


RN 0.69.1, AGP 7.2.1, Gradle 7.4.2

  • azul-18 aarch64 ✔️
  • non-zulu (openjdk-18 aarch64) ✔️
  • non-aarch64 (rip speeds, ccache pls rescue) ❌/✔️

RN 0.69.1, AGP 7.2.0, Gradle 7.4.2

  • azul-18 aarch64 ❌
  • non-zulu (openjdk-18/temurin-18 aarch64) ❌
  • non-aarch64 (azul-18.0.1 aarch32) ❌/✔️

heapdump (Flipper / Android Studio - Metro connection shouldn't matter yet)

buildtools 31.0.0 -> 33.0.0 related?

@leotm leotm added 🐞 Bugerino: Summin' ain't work'n jimmy android Native Android changes (Java, Gradle, Kotlin) p: Facebook Partner: Meta Help Answered :suspect: Issues ideal for external contributors. new arch Fabric / TurboModules / JSI changes labels Jul 3, 2022
@leotm leotm added this to the JDK 18 milestone Jul 3, 2022
@leotm
Copy link
Owner Author

leotm commented Jul 10, 2022

fixed in AGP 7.2.1
confirm commit and/or aarch32 if needed
reopen if not

@leotm leotm closed this as completed Jul 10, 2022
@leotm leotm added the p: Google Partner: Google label Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Native Android changes (Java, Gradle, Kotlin) Help Answered :suspect: Issues ideal for external contributors. 🐞 Bugerino: Summin' ain't work'n jimmy new arch Fabric / TurboModules / JSI changes p: Facebook Partner: Meta p: Google Partner: Google
Projects
None yet
Development

No branches or pull requests

1 participant