现在正在测试将某些服务升级到 Java 17,因为 Java 17 已正式发布,但在编译 Gradle 7.2 Spring Boot 应用程序时遇到了以下问题:
> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
An exception has occurred in the compiler (17). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you. …Run Code Online (Sandbox Code Playgroud)