← Back to issue list

Make Java plugins work on Ubuntu 26.04

View original Github issue

Metadata

Project
craft-parts
Number
#1513
Type
issue
State
open
Author
lengau
Labels
Status: Triaged
Created
Updated
Closed
—

Current evaluation

Triaged: make Java plugin version-sensitive tests pass on Ubuntu 26.04 (Resolute, default OpenJDK 25). Tracked as CRAFT-5065 and fixed by merged PR #1530 (commit da6b596e), which enabled the Java plugin tests on resolute.

Suggested action: close resolved

Reason: Commit da6b596e "fix(test): enable the java plugin tests on resolute (#1530)" directly implements the issue's stated goal of ensuring Java version-relevant tests pass on 26.04, and the issue's Jira bot comment records internal ticket CRAFT-5065. Resolute support is present repo-wide (dev-resolute group in pyproject.toml and uv.lock, resolute in .github/actionlint.yaml, a "26.04"/resolute case in tests/unit/plugins/test_poetry_plugin.py), and the referenced PR #1511 is marked [DO NOT MERGE] and superseded by #1530. Impact is moderate since this is CI/test enablement for a new base rather than a user-facing defect, which is why the issue should simply be closed as resolved.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 22 Complexity: 40 Confidence: 88 Actionability: 80

Issue body

### What needs to get done Ubuntu 26.04 defaults to having OpenJDK 25, so we need a better way to ensure the Java version-relevant tests pass on 26.04. https://github.com/canonical/craft-parts/actions/runs/23447756893/job/68216122380?pr=1511#step:5:59 ### Why it needs to get done Java 21 is so last year.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 22
Complexity: 40
Confidence: 88
Actionability: 80
close resolved Triaged: make Java plugin version-sensitive tests pass on Ubuntu 26.04 (Resolute, default OpenJDK 25). Tracked as CRAFT-5065 and fixed by merged PR #1530 (commit da6b596e), which enabled the Java plugin tests on resolute.
qwen/qwen3.6-35b-a3b
Impact: 60
Quick Win: 34
Complexity: 30
Confidence: 95
Actionability: 80
close resolved Java plugins need updates for Ubuntu 26.04's OpenJDK 25 default. Resolved by merged PR #1530 which enables Java plugin tests on Resolute and resolves CRAFT-5065.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 24
Staleness: 55
Complexity: 40
Confidence: 72
Support Request: 5
keep open Java plugin tests need updating for Ubuntu 26.04's default OpenJDK 25. Triaged by maintainer; PR #1530 added 26.04/JDK 25 handling to test fixtures, but CI still does not run Java plugin tests on 26.04 runners.
qwen/qwen3.6-35b-a3b
Staleness: 55
Complexity: 40
Confidence: 85
Support Request: 10
keep open Requests updating Java plugin handling for Ubuntu 26.04 to support OpenJDK 25 and pass tests. Currently triaged but inactive for 120 days with only an automated Jira sync comment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 50
Complexity: 30
Confidence: 80
Support Request: 10
keep open Java plugins fail on Ubuntu 26.04 due to OpenJDK 25 default. Triaged by a maintainer and linked to an internal ticket, but has seen no substantive activity in 107 days.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#1530 (confidence 92%)

    Merged as commit da6b596e, titled "fix(test): enable the java plugin tests on resolute (#1530)", matching the issue goal exactly.

  • Superseded By: canonical/craft-parts#1511 (confidence 85%)

    The DO-NOT-MERGE experimental Resolute test PR linked from the issue is superseded by the merged #1530.

  • Related To: canonical/craft-parts#1398 (confidence 45%)

    Cited in the PR #1511 record as another merged Resolute-related enabler, though the connection is indirect.

Related issues

Issue Project State Summary Similarity
#1530 fix(test): enable the java plugin tests on resolute craft-parts merged Merged #1530 in commit da6b596e, enabling Java plugin tests on Resolute and simplifying support for future releases (CRAFT-5065).
79%
#985 Java plugin tests fail if you have a JDK newer than 17 but != 21 craft-parts closed Fixed by merged PR #986 (commit d36a93d5, 'fix(tests): don't fail if you have additional JREs'), making Java plugin tests tolerate extra installed JDKs like 25 instead of asserting JAVA_HOME.
70%