Skip to content

jacocoagent.jar not overridden after upgrade #1780

@WNJStudio

Description

@WNJStudio

Environment:

VS Code Version: 1.102.0-insider
Extension Version: from vscode java test 0.43.0 -> 0.43.1
JDK Type & Version: 24
OS Type & Version: windows
Step to Reproduce:

install version 0.43.0 of the Extension
upgrade the extension to versoin 0.43.1

Expected Behavior:
{extensionpath}/server/jacocoagent.jar should be updated from version 0,8.12.xxxxx to 0.8.13.xxxx

Actual Behavior:

if (!fs.existsSync(jacocoAgentPath)) {

from the scripts it seems that when upgrading since the jar was present since last version it's not being overridden, causing a version mismatch and therefore causing code coverage not work with java 24

Workaround:
Uninstall the extension and install it clean

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