F2-13: 修编译目标降 release=21 + 升 Groovy 4.0.27 + .groovy 转 Java(修报表 500)
根因:JDK26 编译产生 major version 70 字节码,Groovy 4.0.24 内嵌 ASM 不支持, 导致报表取数链路语义分析崩溃。 修法: 1. pom.xml 将 source/target=17 改为 maven.compiler.release=21(真正约束输出字节码) 2. groovy-jsr223 版本升至 4.0.27(与本地 groovy core 4.0.27 配套) 3. SecureGroovyScriptEngineFactory/MethodCallExpressionChecker 从 .groovy 转写为 .java,彻底移除 gmavenplus 插件,消除 JDK26 下 ASM generateStubs 崩溃 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
3
.mvn/jvm.config
Normal file
3
.mvn/jvm.config
Normal file
@@ -0,0 +1,3 @@
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
||||
--add-opens java.base/java.util=ALL-UNNAMED
|
||||
Reference in New Issue
Block a user