Skip to content

Commit addf7e1

Browse files
ci: force DetectVMInstallationsJob on (CI suppresses it) to match reporter env
1 parent a251664 commit addf7e1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/repro-issue18.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ jobs:
8989
{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"get_diagnostics","arguments":{"filePath":"/tmp/proj/src/main/java/com/example/Demo.java"}}}'
9090
9191
echo "=== launching product (java.home = SDKMAN Corretto) ==="
92+
# GitHub Actions sets CI=true, which suppresses JDT's DetectVMInstallationsJob.
93+
# The reporter's machine has no CI var, so that async VM-detection/reconciliation job
94+
# DOES run. Force it on (property=false bypasses the CI check) to match his environment.
9295
OUT=$(printf '%s\n' "$REQ" | gtimeout 180 "$SDK_JAVA" \
96+
-DDetectVMInstallationsJob.disabled=false \
9397
-Xmx512m \
9498
-Dosgi.bundles.defaultStartLevel=4 \
9599
--add-modules=ALL-SYSTEM \

0 commit comments

Comments
 (0)