Skip to content

Feature: JDK 26 - #4244

Merged
infeo merged 11 commits into
developfrom
feature/jdk26
Jun 3, 2026
Merged

infeo merged 11 commits into
developfrom
feature/jdk26

Conversation

@infeo

@infeo infeo commented Jun 2, 2026

Copy link
Copy Markdown
Member

This PR migrates the project to JDK 26.

Current status:

TODO:

@infeo infeo mentioned this pull request Jun 2, 2026
@coderabbitai

coderabbitai Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 27381765-3c9a-44c5-a6eb-d881596a45b0

📥 Commits

Reviewing files that changed from the base of the PR and between fbdf1b1 and 3f312b1.

📒 Files selected for processing (1)
  • .github/workflows/debian.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/debian.yml

Walkthrough

This PR migrates GitHub Actions workflows from Java 25 to Java 26 by updating env.JAVA_VERSION / java-version across workflows. The Debian workflow now depends on coffeelibs-jdk-26 and registers the coffeelibs/openjdk PPA. The Windows MSI workflow is refactored to generate MSI helper DLLs with jpackage, adds a PowerShell step to expand FAvaultFile properties, and adjusts jpackage parameters and environment variables for resource and helper paths.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

Possibly related PRs

Suggested labels

java, github_actions

Suggested reviewers

  • overheadhunter
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive The PR partially addresses the linked issue #4219 regarding vault config file icons in Windows, with win-exe.yml workflow containing changes related to the MSI installer and icon handling. Verify whether the win-exe.yml changes (FAvaultFile.properties generation, msica.dll handling, and icon-related environment variables) fully resolve the vault config file icon display issue in Windows Explorer.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Feature: JDK 26' directly and clearly describes the main change in the PR—migrating the project to JDK 26, which is the core objective across all workflow files.
Description check ✅ Passed The description is directly related to the changeset, explaining the JDK 26 migration work and noting fixes for issue #4219 and the Debian build adjustment.
Out of Scope Changes check ✅ Passed All changes are directly related to the JDK 26 migration across 11 workflow files, plus adjustments to Debian build dependencies and Windows installer icon handling tied to the JDK upgrade.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/jdk26

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
.github/workflows/appimage.yml (1)

69-76: Optional: Align OpenJFX jmods with JDK 26 (JavaFX 26.0.1 GA)

.github/workflows/appimage.yml, mac-dmg.yml, and mac-dmg-x64.yml download openjfx-25.0.2 jmods (and pom.xml pins javafx.version to 25.0.2) while the workflows run on JAVA_VERSION: 26.0.1+8. JavaFX 26.0.1 is a GA release and requires JDK 24+, so bumping the jmods to 26.0.1 would better match the JDK stack. If you do, update pom.xml’s javafx.version in lockstep, since the workflows fail when the major JavaFX version in pom.xml doesn’t match the downloaded jmods.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/appimage.yml around lines 69 - 76, Update the OpenJFX
jmods referenced by openjfx-url/openjfx-sha in the workflows (e.g., the entries
with keys openjfx-url and openjfx-sha in .github/workflows/appimage.yml,
mac-dmg.yml and mac-dmg-x64.yml) from 25.0.2 to the JavaFX 26.0.1 GA artifacts
(replace the URLs and corresponding checksums), and simultaneously bump the
javafx.version property in pom.xml to 26.0.1 so the major JavaFX version in
pom.xml matches the downloaded jmods.
.github/workflows/debian.yml (1)

59-62: ⚡ Quick win

Add -y to add-apt-repository for non-interactive CI.

Without -y, add-apt-repository can prompt and block on runners depending on the software-properties-common version, risking a hung job. Adding -y makes it deterministic (and triggers the implicit index refresh).

♻️ Proposed change
-          sudo add-apt-repository ppa:coffeelibs/openjdk
+          sudo add-apt-repository -y ppa:coffeelibs/openjdk
           sudo apt-get update
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/debian.yml around lines 59 - 62, Update the
non-interactive behavior of the repository addition by changing the command
"sudo add-apt-repository ppa:coffeelibs/openjdk" to include the -y flag so it
runs without prompting; i.e., use the "add-apt-repository -y" variant and keep
the following "sudo apt-get update" to ensure the package index is refreshed in
CI.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In @.github/workflows/appimage.yml:
- Around line 69-76: Update the OpenJFX jmods referenced by
openjfx-url/openjfx-sha in the workflows (e.g., the entries with keys
openjfx-url and openjfx-sha in .github/workflows/appimage.yml, mac-dmg.yml and
mac-dmg-x64.yml) from 25.0.2 to the JavaFX 26.0.1 GA artifacts (replace the URLs
and corresponding checksums), and simultaneously bump the javafx.version
property in pom.xml to 26.0.1 so the major JavaFX version in pom.xml matches the
downloaded jmods.

In @.github/workflows/debian.yml:
- Around line 59-62: Update the non-interactive behavior of the repository
addition by changing the command "sudo add-apt-repository
ppa:coffeelibs/openjdk" to include the -y flag so it runs without prompting;
i.e., use the "add-apt-repository -y" variant and keep the following "sudo
apt-get update" to ensure the package index is refreshed in CI.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a2e78c5e-1710-48ad-846a-e7755daaa0fc

📥 Commits

Reviewing files that changed from the base of the PR and between d5d992b and fbdf1b1.

⛔ Files ignored due to path filters (8)
  • dist/linux/debian/control is excluded by !**/dist/**
  • dist/linux/debian/rules is excluded by !**/dist/**
  • dist/linux/flatpak/org.cryptomator.Cryptomator.TEMPLATE.yaml is excluded by !**/dist/**
  • dist/linux/makepkg/PKGBUILD.template is excluded by !**/dist/**
  • dist/win/build.ps1 is excluded by !**/dist/**
  • dist/win/resources/FAvaultFile.properties is excluded by !**/dist/**
  • dist/win/resources/FAvaultFile.template.properties is excluded by !**/dist/**
  • dist/win/resources/main.wxs is excluded by !**/dist/**
📒 Files selected for processing (11)
  • .github/workflows/appimage.yml
  • .github/workflows/build.yml
  • .github/workflows/debian.yml
  • .github/workflows/dependency-check.yml
  • .github/workflows/draft-release.yml
  • .github/workflows/get-version.yml
  • .github/workflows/mac-dmg-x64.yml
  • .github/workflows/mac-dmg.yml
  • .github/workflows/pullrequest.yml
  • .github/workflows/release-check.yml
  • .github/workflows/win-exe.yml

when adding coffeelibs repo
@infeo infeo added this to the next milestone Jun 3, 2026
@infeo infeo self-assigned this Jun 3, 2026
@infeo
infeo merged commit 41ce350 into develop Jun 3, 2026
4 checks passed
@infeo
infeo deleted the feature/jdk26 branch June 3, 2026 08:44
infeo added a commit that referenced this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: Cryptomator vault config files without icon

1 participant