chore (doctor): update Java version range to be strictly 11-18#1940
Conversation
|
Hi @tarunrajput |
6975395 to
06ffb36
Compare
|
@tarunrajput Just out of curiosity, did you confirm the behavior of RN with Java 19 and onwards ? Or what are the errors in that case, maybe something that can be added to the task list as well later. |
|
@arushikesarwani94, I did try to build with jdk19 and it worked fine on both old and new arch. However, Gradle is not fully compatible with jdk20 yet because Kotlin lacks support for it. |
I didn't have the time to try building on JDK 19 yet, but I'm not aware of any incompatibilities at the moment. Thanks for testing, I'll give it a try in the next days and perhaps we can update the range to include 19 as well. |
Summary:
Updated Java version check in versionRanges to be strictly [11 - 18] (i.e. 19 is not supported).
Part of #1936
Test Plan:
Updated tests and run
yarn test