Skip to content

Commit dd9791a

Browse files
committed
Use DetectVMInstallationsJob.disabled=true property from JDT Debug
- Automatic JVM detection in JDT Debug seems to have introduced a regression in JDT indexing causing java.lang.OutOfMemory - Use Eclipse Temurin for JDK distribution. Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent 3400541 commit dd9791a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
with:
1717
path: ~/.m2/wrapper
1818
key: maven-wrapper-${{ hashFiles('**/mvnw') }}
19-
- name: Set up Adoptium JDK 17
19+
- name: Set up Eclipse Temurin JDK 17
2020
uses: actions/setup-java@v2
2121
with:
2222
java-version: '17'
23-
distribution: 'adopt'
23+
distribution: 'temurin'
2424
- name: Build and test Quarkus jdt component
2525
run: cd quarkus.jdt.ext && ./mvnw -B -U clean verify && cd ..
2626
- name: Build and test Quarkus language server component

quarkus.jdt.ext/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<tycho.generateSourceReferences>true</tycho.generateSourceReferences>
1717
<jdt.ls.version>1.25.0-SNAPSHOT</jdt.ls.version>
1818
<tycho.test.platformArgs />
19-
<tycho.test.jvmArgs>-Xmx512m ${tycho.test.platformArgs}</tycho.test.jvmArgs>
19+
<tycho.test.jvmArgs>-Xmx512m -DDetectVMInstallationsJob.disabled=true ${tycho.test.platformArgs}</tycho.test.jvmArgs>
2020
<lsp4mp.p2.url>https://download.eclipse.org/lsp4mp/snapshots/0.8.0/repository/</lsp4mp.p2.url>
2121

2222
<!-- Code coverage -->

qute.jdt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<tycho.generateSourceReferences>true</tycho.generateSourceReferences>
1919
<jdt.ls.version>1.25.0-SNAPSHOT</jdt.ls.version>
2020
<tycho.test.platformArgs />
21-
<tycho.test.jvmArgs>-Xmx512m ${tycho.test.platformArgs}</tycho.test.jvmArgs>
21+
<tycho.test.jvmArgs>-Xmx512m -DDetectVMInstallationsJob.disabled=true ${tycho.test.platformArgs}</tycho.test.jvmArgs>
2222

2323
<!-- Code coverage -->
2424
<jacoco.version>0.8.8</jacoco.version>

0 commit comments

Comments
 (0)