From c234f9a0e06077c2562b838b8834f790fe4101f0 Mon Sep 17 00:00:00 2001 From: Valera V Harseko Date: Sun, 11 Oct 2026 18:45:01 +0300 Subject: [PATCH 1/2] Upgrade Java version to 27 in build workflow Updated Java version from 26 to 27 in build matrix. --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 447bb815e..1204b14db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,19 +28,19 @@ jobs: strategy: matrix: os: [ 'ubuntu-latest' ] - java: [ '17', '21', '25', '26' ] + java: [ '17', '21', '25', '27' ] # macOS and Windows runners are the slowest and scarcest in CI, so only - # smoke-test the minimum (17) and maximum (26) supported JDKs on them. + # smoke-test the minimum (17) and maximum (27) supported JDKs on them. # Ubuntu keeps the full JDK matrix above. include: - os: 'macos-latest' java: '17' - os: 'macos-latest' - java: '26' + java: '27' - os: 'windows-latest' java: '17' - os: 'windows-latest' - java: '26' + java: '27' fail-fast: false steps: - uses: actions/checkout@v7 @@ -127,7 +127,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '17', '26' ] + java: [ '17', '27' ] context_path: [ "", "/myidm" ] samples: [ "", "samples/getting-started", "samples/workflow", "samples/usecase/usecase1" ] include: From 592cf8b4275be98acc2d1e89cae6d98de8bbc303 Mon Sep 17 00:00:00 2001 From: Valera V Harseko Date: Sun, 11 Oct 2026 23:33:09 +0300 Subject: [PATCH 2/2] Upgrade ASM to 9.11 for JDK 27 support ASM 9.9.1 reads class files only up to major version 70 (Java 26). On JDK 27 SPI Fly fails to weave slf4j-api, which then binds to the NOP logger, so OpenIDM logs nothing and "OpenIDM ready" never reaches openidm0.log.0. Also fail the Windows start-up test when "OpenIDM ready" is missing: findstr's exit code alone does not fail a PowerShell step, which let the windows-latest/27 job pass with the same problem. --- .github/workflows/build.yml | 5 +++++ pom.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1204b14db..997e01ead 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -101,6 +101,11 @@ jobs: Start-Sleep -s 180 type logs\openidm0.log.0 findstr "OpenIDM ready" logs\openidm0.log.0 + # A native command's exit code does not fail a PowerShell step on its own. + if ($LASTEXITCODE -ne 0) { + Write-Host "OpenIDM ready not found in openidm0.log.0" + exit 1 + } if (Select-String -Path logs\openidm0.log.0 -Pattern 'ERROR|SEVERE|Exception|Throwable' -CaseSensitive -Quiet) { Write-Host "Errors or exceptions detected in openidm0.log.0" Select-String -Path logs\openidm0.log.0 -Pattern 'ERROR|SEVERE|Exception|Throwable' -CaseSensitive diff --git a/pom.xml b/pom.xml index fbb51bdf5..cf0d48188 100644 --- a/pom.xml +++ b/pom.xml @@ -129,7 +129,7 @@ 4.0.2 1_2 4.27 - 9.9.1 + 9.11 1.8.6_1 2.4.21