jacocoagent.jar not overridden after upgrade

オープン
#1,780 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java, typescript

調査の方向性

リンク先の行にある scripts/buildJdtlsExt.js から始め、既存の拡張機能をアップグレードする際に jacocoagent.jar がどのように扱われるかを確認してください。バンドルされた JAR が 0.8.12.x から 0.8.13.x に置き換えられ、Java 24 のカバレッジシナリオでクリーンな再インストールが不要になっていることを検証してください。

索引モデルが issue の本文から書いたものです。

説明

ai-triaged bug high-priority investigating test-reporting

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:
https://github.com/microsoft/vscode-java-test/blob/bae1928c27a2735c513072849b3e9d8542632980/scripts/buildJdtlsExt.js#L82
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

主要言語
TypeScript
スター
340
フォーク
173
平均マージ
1日 19時間
マージ済み PR(30日)
18

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/vscode-java-test のほかの issue

microsoft/vscode-java-test の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。