Commit aec4b39
fix: ship org.objectweb.asm bundles to satisfy Jacoco 0.8.14 (#1866)
The plugin and bundled Jacoco 0.8.14 require org.objectweb.asm
[9.9.0,9.10.0), but the Eclipse platform/JDT-LS provided by vscode-java
only ships asm 9.8.0. Since #1798 bumped Jacoco to 0.8.14 (asm 9.9) the
asm bundle was never added to the copy allow-list in buildJdtlsExt.js,
so it was never shipped in server/ nor registered in javaExtensions.
At runtime this leaves com.microsoft.java.test.plugin and
org.jacoco.core unresolved (BundleException: Unresolved requirement:
org.objectweb.asm [9.9.0,9.10.0)), so the test plugin fails to load and
no test UI appears.
Add the org.objectweb.asm prefix to bundleList so asm, asm.commons and
asm.tree 9.9.x are shipped with the extension and the requirement is
satisfied independently of the platform-provided asm version.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b15232d commit aec4b39
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments