Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Java 21 #1

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ When developing a PR it is sufficient to run your new tests and some
related subset of tests locally. Our PR builder will take care of running
the full test suite.

## Additional JMH tests (in java21_jmh_additional and fibers_jmh_additional)
To run the JMH benchmarks, it works to run `mvn clean package -DskipTests` from the root directory, followed by `mvn exec:exec@run-benchmarks` from the hazelcast directory.

## License

Source code in this repository is covered by one of two licenses:
Expand Down
12 changes: 6 additions & 6 deletions hazelcast-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</licenses>

<properties>
<jdk.version>17</jdk.version>
<jdk.version>21</jdk.version>
<hazelcast.module.name>com.hazelcast.core</hazelcast.module.name>
<relocation.root>com.hazelcast.shaded</relocation.root>
<relocation.dir>com/hazelcast/shaded</relocation.dir>
Expand All @@ -89,7 +89,7 @@
<new.debezium.version>2.7.3.Final</new.debezium.version>
<grpc.version>1.66.0</grpc.version>
<hadoop.version>3.4.0</hadoop.version>
<jackson.mapper.asl.version>1.9.14.jdk17-redhat-00001</jackson.mapper.asl.version>
<jackson.mapper.asl.version>2.18.0</jackson.mapper.asl.version>
<jline.version>3.27.0</jline.version>
<jms.api.version>3.1.0</jms.api.version>
<json-surfer.version>0.12</json-surfer.version>
Expand Down Expand Up @@ -490,13 +490,13 @@
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.mapper.asl.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.mapper.asl.version}</version>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>17</release>
<release>21</release>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>17</release>
<release>21</release>
</configuration>
</plugin>

Expand Down
Loading