From 08db45b75bd4354bd40efcdff52bdf917d385f1a Mon Sep 17 00:00:00 2001 From: binLep <45154147+binLep@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:00:04 +0800 Subject: do not fix the JDK version in the swig rules --- xmake/rules/swig/build_module_file.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/swig/build_module_file.lua b/xmake/rules/swig/build_module_file.lua index a8a678cf7..8aaf29e3f 100644 --- a/xmake/rules/swig/build_module_file.lua +++ b/xmake/rules/swig/build_module_file.lua @@ -66,7 +66,7 @@ function jar_build(target, fileconfig, opt) -- compile to class file progress.show(opt.progress, "${color.build.object}compiling.javac %s class file", target:name()) - os.vrunv(javac.program, {"--release", "17", "-d", java_class_dir, "@" .. filelistname}) + os.vrunv(javac.program, {"-d", java_class_dir, "@" .. filelistname}) -- generate jar file progress.show(opt.progress, "${color.build.object}compiling.jar %s", target:name() .. ".jar") -- cgit v1.3.1