redhat-developer / redhat-developer/vscode-java
DownloadChecksumJob fails for Gradle snapshot versions fetched from versions API, causing projects to fall back to unmanaged/invisible project mode
@fbricon arbeitet bereits daran.
Seit 09.3.2026.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
Description:
Extension version: redhat.java 1.53.0
OS: Linux (Ubuntu 24)
Java version: (openjdk version "11.0.30" 2026-01-20)
Gradle versions in projects: 6.4, 6.5, 6.8, 7.6.3, 8.3, 8.4 (none using 9.3.0)
Problem:
On every startup, DownloadChecksumJob attempts to validate a checksum for gradle-9.3.0-20251002004537+0000 — a snapshot version not used by any project in the workspace. The snapshot URL no longer exists on Gradle's distribution server, causing a FileNotFoundException. This causes Buildship to fail importing affected projects as Gradle projects, falling back to unmanaged/invisible project mode and outputting compiled classes to bin/ instead of build/.
Evidence:
No project in the workspace references 9.3.0
The version appears in workspaceStorage/.../org.eclipse.buildship.core/gradle/versions.json, suggesting Buildship fetches all versions from the Gradle versions API (including snapshots) and attempts checksum validation for all of them
Deleting the workspaceStorage folder is only a temporary fix as it regenerates on next startup
Expected behavior:
Checksum validation should only run for Gradle versions actually used by projects in the workspace, not all versions fetched from the remote API.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.