Skip to content

Incompatible ASM version (9.9.0) in redhat.java 1.47.0 breaks vscode-java-test (requires 9.8.x) #4227

@miklosbalazsi

Description

@miklosbalazsi

Description:

After updating to [email protected], the VS Code Java Test Runner ([email protected]) fails to start due to a missing ASM bundle in the OSGi environment.

Environment:

OS: Ubuntu 24.04 (Linux x86_64)

VS Code: 1.95.3

Java: Eclipse Temurin 21.0.8

Red Hat Java extension: 1.47.0

Test Runner: 0.43.1

Logs:
Bundle startup failed reference:file:/home/miklos/.vscode/extensions/vscjava.vscode-java-test-0.43.1/server/com.microsoft.java.test.plugin-0.43.1.jar
org.osgi.framework.BundleException: Could not resolve module: com.microsoft.java.test.plugin [123]
Unresolved requirement: Require-Bundle: org.objectweb.asm; bundle-version="[9.8.0,9.9.0)"

Notes:

The issue is resolved when downgrading redhat.java to 1.46.0, which includes org.objectweb.asm_9.8.0.jar.

The 1.47.0 version bundles org.objectweb.asm_9.9.0.jar instead, causing OSGi dependency resolution to fail.

Suggest aligning ASM dependency version between extensions or loosening the Test Runner’s version range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions