Skip to content

jacocoagent.jar not overridden after upgrade #1780

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions