Skip to content

Commit

Permalink
Update Java version to 21
Browse files Browse the repository at this point in the history
to fix the build errors
  • Loading branch information
ghentschke committed Apr 19, 2024
1 parent 96a3310 commit df20f14
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- 'dsf/**'
- 'debug/**'
- 'jtag/**'
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Set up Maven
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-cleanliness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Set up Maven
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@
<version>${required-maven-version}</version>
</requireMavenVersion>
<requireJavaVersion>
<version>17</version>
<version>21</version>
</requireJavaVersion>
</rules>
<fail>true</fail>
Expand Down Expand Up @@ -1019,7 +1019,7 @@
</goals>
<phase>compile</phase>
<configuration>
<executionEnvironment>JavaSE-17</executionEnvironment>
<executionEnvironment>JavaSE-21</executionEnvironment>
</configuration>
</execution>
</executions>
Expand Down
4 changes: 2 additions & 2 deletions releng/org.eclipse.cdt.target/cdt.target
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="cdt" sequenceNumber="156">
<target name="cdt" sequenceNumber="157">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/cbi/updates/license/" />
Expand Down Expand Up @@ -205,7 +205,7 @@
<unit id="org.apache.commons.logging" version="0.0.0"/>
</location>
</locations>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17" />
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21" />
<launcherArgs>
<vmArgs>-Xms40m&#13;
-Xmx512M&#13;
Expand Down

0 comments on commit df20f14

Please sign in to comment.