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

            Assignee:
            christian.melchior@mongodb.com Christian Melchior (Inactive)
            Reporter:
            nabil.hachicha@mongodb.com Nabil Hachicha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: