-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
7179
-
Needed
-
SDK FY21-Q3.
Currently compiling with JDK9 on macOS fails
cd realm-transformer /gradlew assemble > Task :compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
java -version java version "9" Java(TM) SE Runtime Environment (build 9+181) Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
Specifying JDK8 explicitly alleviate the issue
./gradlew assemble -Dorg.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/
Document or support this behaviour