You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jacocoagent.jar not overridden after upgrade #1780
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
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
Hi WNJStudio, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
The built‐in jacocoagent.jar isn’t picked up if it already exists in your extension folder. You can work around or avoid the mismatch as follows:
• Manually remove the old agent and reload
Delete {home}/.vscode/extensions/vscjava.vscode-java-test-0.43.1/server/jacocoagent.jar, then restart VS Code. The new 0.8.13.xxxx jar will be copied.
• Use the project’s own Jacoco agent (no embedded jar)
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
Activity
github-actions commentedon Nov 13, 2025
Hi WNJStudio, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
The built‐in jacocoagent.jar isn’t picked up if it already exists in your extension folder. You can work around or avoid the mismatch as follows:
• Manually remove the old agent and reload
{home}/.vscode/extensions/vscjava.vscode-java-test-0.43.1/server/jacocoagent.jar, then restart VS Code. The new0.8.13.xxxxjar will be copied.• Use the project’s own Jacoco agent (no embedded jar)
jacocoagent.jar: see "Run Test with coverage" doesn't work: "Could not find or load main class" #1714 (comment)• Full reinstall (uninstall + install) also forces the update.
labels: bug, test-reporting, high-priority, investigating
duplicateUrls: []
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
ergh99 commentedon Nov 22, 2025
the workaround hack in #1714 worked for me. low key ridiculous this is still not shipped.