From 3047c7211a9f47ed93cbbf7b05051d6438e7aa40 Mon Sep 17 00:00:00 2001 From: lread Date: Wed, 19 Mar 2025 12:46:20 -0400 Subject: [PATCH 1/6] test: native: turf deprecated option Responding to Graal native-image output of: Warning: Using a deprecated option --report-unsupported-elements-at-runtime from command line. The option is deprecated and will be removed in the future. The use of unsupported elements is always reported at run time. --- script/helper/graal.clj | 1 - 1 file changed, 1 deletion(-) diff --git a/script/helper/graal.clj b/script/helper/graal.clj index 0acace00..ff5e1205 100644 --- a/script/helper/graal.clj +++ b/script/helper/graal.clj @@ -97,7 +97,6 @@ (str "-H:ReflectionConfigurationFiles=" graal-reflection-fname)) "--verbose" "--no-fallback" - "--report-unsupported-elements-at-runtime" "-cp" (str classpath java.io.File/pathSeparator "classes") (str "-J-Xmx" native-image-xmx) entry-class] From a5a95e4dc33573233d8d3cb7f12b3eba5dabe982 Mon Sep 17 00:00:00 2001 From: lread Date: Wed, 19 Mar 2025 12:52:01 -0400 Subject: [PATCH 2/6] ci: bump graalvm to version 24 --- .github/workflows/native-image-test.yml | 2 +- doc/02-developer-guide.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/native-image-test.yml b/.github/workflows/native-image-test.yml index 8ae54f63..3a2c5d0e 100644 --- a/.github/workflows/native-image-test.yml +++ b/.github/workflows/native-image-test.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ windows, ubuntu, macos ] - java-version: [ '23.0.2' ] + java-version: [ '24' ] test: [ native, native-sci ] clojure-version: [ '1.12' ] diff --git a/doc/02-developer-guide.adoc b/doc/02-developer-guide.adoc index b23f9787..7e4ba3d1 100644 --- a/doc/02-developer-guide.adoc +++ b/doc/02-developer-guide.adoc @@ -12,7 +12,7 @@ We make use of planck for cljs bootstrap (aka cljs self-hosted) testing. Planck is currently not available for Windows. We test that rewrite-clj operates as expected when natively compile via GraalVM. -Automated testing is setup using GraalVM for JDK 23. +Automated testing is setup using GraalVM for JDK 24. At this time we only test against the Community Edition. == Prerequisites @@ -21,7 +21,7 @@ At this time we only test against the Community Edition. * Clojure v1.10.1.697 or above for `clojure` command ** Note that rewrite-clj v1 itself supports Clojure v1.8 and above * Babashka v0.3.7 or above -* Current release of GraalVM for JDK 23, if you want to run GraalVM native image tests +* Current release of GraalVM for JDK 24, if you want to run GraalVM native image tests === Windows Notes From 7535615d5fe0e39d2447575541e9888aeeefb6e3 Mon Sep 17 00:00:00 2001 From: lread Date: Wed, 19 Mar 2025 12:55:44 -0400 Subject: [PATCH 3/6] ci: bump unit text matrix jdk23->jdk24 --- script/ci_unit_tests.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/ci_unit_tests.clj b/script/ci_unit_tests.clj index 8a897f43..d5b2b85a 100755 --- a/script/ci_unit_tests.clj +++ b/script/ci_unit_tests.clj @@ -19,10 +19,10 @@ "ubuntu")) ;; matrix params to be used on ci -(def ^:private os-jdks {"ubuntu" ["8" "11" "17" "21" "23"] +(def ^:private os-jdks {"ubuntu" ["8" "11" "17" "21" "24"] ;; macOS on GitHub Actions is now arm-based and does not include jdk8 - "macos" ["11" "17" "21" "23"] - "windows" ["8" "11" "17" "21" "23"]}) + "macos" ["11" "17" "21" "24"] + "windows" ["8" "11" "17" "21" "24"]}) (def ^:private all-oses (keys os-jdks)) (defn- test-tasks [] From 3299a77523d4b1fce0ce4990f920048893960394 Mon Sep 17 00:00:00 2001 From: lread Date: Wed, 19 Mar 2025 12:57:41 -0400 Subject: [PATCH 4/6] test & dev: bump deps --- deps.edn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps.edn b/deps.edn index 4325dc5c..9bc84f89 100644 --- a/deps.edn +++ b/deps.edn @@ -36,7 +36,7 @@ {;; for disabling the official compiler :classpath-overrides {org.clojure/clojure nil} :extra-deps {com.github.flow-storm/clojure {:mvn/version "1.12.0-9"} - com.github.flow-storm/flow-storm-dbg {:mvn/version "4.2.1"}} + com.github.flow-storm/flow-storm-dbg {:mvn/version "4.2.2"}} :jvm-opts ["-Dclojure.storm.instrumentEnable=true"]} :nrepl/jvm @@ -168,7 +168,7 @@ ;; ;; Maintenance support ;; - :outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.11.1269"} + :outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.11.1276"} org.slf4j/slf4j-simple {:mvn/version "2.0.17"} ;; to rid ourselves of logger warnings } :override-deps {org.clojure/clojure {:mvn/version "1.12.0"}} From ee9b7c1bc7166d9ad3d334c6e0c6b3fb46138a2e Mon Sep 17 00:00:00 2001 From: lread Date: Wed, 19 Mar 2025 12:59:10 -0400 Subject: [PATCH 5/6] test-libs: bump antq --- script/test_libs.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/test_libs.clj b/script/test_libs.clj index e52ab074..587b986e 100755 --- a/script/test_libs.clj +++ b/script/test_libs.clj @@ -293,7 +293,7 @@ :show-deps-fn lein-deps-tree :test-cmds ["lein kaocha"]} {:name "antq" - :version "2.11.1269" + :version "2.11.1276" :platforms [:clj] :github-release {:repo "liquidz/antq"} :patch-fn deps-edn-v1-patch From 95f351c3521135599143cd1f4c63814a269d078d Mon Sep 17 00:00:00 2001 From: lread Date: Wed, 19 Mar 2025 13:07:11 -0400 Subject: [PATCH 6/6] ci: oops, looks like temurin jdk24 not out yet --- script/ci_unit_tests.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/ci_unit_tests.clj b/script/ci_unit_tests.clj index d5b2b85a..8a897f43 100755 --- a/script/ci_unit_tests.clj +++ b/script/ci_unit_tests.clj @@ -19,10 +19,10 @@ "ubuntu")) ;; matrix params to be used on ci -(def ^:private os-jdks {"ubuntu" ["8" "11" "17" "21" "24"] +(def ^:private os-jdks {"ubuntu" ["8" "11" "17" "21" "23"] ;; macOS on GitHub Actions is now arm-based and does not include jdk8 - "macos" ["11" "17" "21" "24"] - "windows" ["8" "11" "17" "21" "24"]}) + "macos" ["11" "17" "21" "23"] + "windows" ["8" "11" "17" "21" "23"]}) (def ^:private all-oses (keys os-jdks)) (defn- test-tasks []