From 129cda21ff61bc62f6f8b52404af61eb6594b52b Mon Sep 17 00:00:00 2001 From: Vojin Jovanovic Date: Tue, 5 Aug 2025 14:47:57 +0200 Subject: [PATCH] Enable future-defaults for public gates --- .github/workflows/micronaut.yml | 2 ++ .github/workflows/quarkus.yml | 1 + .github/workflows/reachability-metadata.yml | 1 + .github/workflows/spring.yml | 1 + 4 files changed, 5 insertions(+) diff --git a/.github/workflows/micronaut.yml b/.github/workflows/micronaut.yml index da850d5daa79..43df3b5fc478 100644 --- a/.github/workflows/micronaut.yml +++ b/.github/workflows/micronaut.yml @@ -51,6 +51,8 @@ on: env: MICRONAUT_CORE_PATH: ${{ github.workspace }}/micronaut-core MICRONAUT_JAVA_VERSION: 21 + NATIVE_IMAGE_OPTIONS: '--future-defaults=all' + # Enforce experimental option checking in CI (GR-47922) NATIVE_IMAGE_EXPERIMENTAL_OPTIONS_ARE_FATAL: 'true' diff --git a/.github/workflows/quarkus.yml b/.github/workflows/quarkus.yml index 6658b45c26c1..4f55904c0357 100644 --- a/.github/workflows/quarkus.yml +++ b/.github/workflows/quarkus.yml @@ -56,6 +56,7 @@ env: NATIVE_TEST_MAVEN_ARGS: "-Dtest-containers -Dstart-containers -Dquarkus.native.native-image-xmx=6g -Dnative -Dnative.surefire.skip -Dformat.skip -Dno-descriptor-tests install -DskipDocs -Dquarkus.native.container-build=false" QUARKUS_JAVA_VERSION: 17 # Use Java 17 to build Quarkus as that's the lowest supported JDK version currently QUARKUS_PATH: ${{ github.workspace }}/quarkus + NATIVE_IMAGE_OPTIONS: '--future-defaults=all' permissions: {} jobs: diff --git a/.github/workflows/reachability-metadata.yml b/.github/workflows/reachability-metadata.yml index 0a9908f10076..c22faf8d9c2b 100644 --- a/.github/workflows/reachability-metadata.yml +++ b/.github/workflows/reachability-metadata.yml @@ -51,6 +51,7 @@ on: env: REACHABILITY_METADATA_PATH: ${{ github.workspace }}/graalvm-reachability-metadata MINIMUM_METADATA_JAVA_VERSION: 17 + NATIVE_IMAGE_OPTIONS: '--future-defaults=all' permissions: contents: read # to fetch code (actions/checkout) diff --git a/.github/workflows/spring.yml b/.github/workflows/spring.yml index 80782556080b..cf765d2b7bae 100644 --- a/.github/workflows/spring.yml +++ b/.github/workflows/spring.yml @@ -51,6 +51,7 @@ on: env: SPRING_PETCLINIC_PATH: ${{ github.workspace }}/spring-petclinic SPRING_JAVA_VERSION: 21 + NATIVE_IMAGE_OPTIONS: '--future-defaults=all' permissions: contents: read # to fetch code (actions/checkout)