dupen01 commented on issue #5314:
URL: https://github.com/apache/kyuubi/issues/5314#issuecomment-2053907648

   I have recently been tracking this issue and testing the behavior of JDK 21 
locally on a branch. The biggest conflict arises from the version of 
`spotless-maven-plugin`. 
   The current version of `potless-maven-plugin` used in the master branch of 
the Kyuubi project is 2.30.0. 
   To support JDK 21, it is necessary to upgrade to a newer version, as per 
this issue: https://github.com/diffplug/spotless/issues/1819. 
   
   Correspondingly, the version of `googlejavaformat` also needs to be upgraded 
(currently, the Kyuubi project uses `googlejavaformat` v1.7, whereas the latest 
release of the `googlejavaformat` project is 1.22.0). This will cause some 
existing code formatting checks to fail. 
   Furthermore, if upgrading `spotless-maven-plugin` to a newer version, such 
as 2.43.0, in order to support JDK 21, it will result in the loss of support 
for JDK 1.8 (refer to: 
https://github.com/diffplug/spotless/blob/main/plugin-maven/README.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to