mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

vharseko
23.38.2023 cb69ead94eadce90fd0616b5af263603feee78ba
Add JDK 21 support (#310)

4 files modified
15 ■■■■ changed files
.github/workflows/build.yml 2 ●●● patch | view | raw | blame | history
opendj-config/pom.xml 3 ●●●● patch | view | raw | blame | history
opendj-ldap-toolkit/pom.xml 4 ●●● patch | view | raw | blame | history
pom.xml 6 ●●●● patch | view | raw | blame | history
.github/workflows/build.yml
@@ -10,7 +10,7 @@
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        java: [ '8','11','17','19']
        java: [ '8','11','17','21']
        os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
      fail-fast: false
    steps:
opendj-config/pom.xml
@@ -187,8 +187,7 @@
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
             <parallel>methods</parallel>
             <threadCount>1</threadCount>
            <reuseForks>false</reuseForks>
        </configuration>
      </plugin>
      <plugin>
opendj-ldap-toolkit/pom.xml
@@ -132,7 +132,9 @@
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.0.0-M4</version>
                <configuration>
                    <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
                </configuration>
            </plugin>
            <plugin>
pom.xml
@@ -353,7 +353,7 @@
                    <inherited>true</inherited>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.10.1</version>
                    <version>3.11.0</version>
                    <configuration>
                        <fork>true</fork>
                        <compilerArgs>
@@ -365,7 +365,7 @@
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>3.2.0</version>
                    <version>3.6.0</version>
                </plugin>
                
                <plugin>
@@ -446,7 +446,7 @@
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>3.0.0-M4</version> <!-- M6 DecodeException but got java.nio.BufferOverflowException -->
                    <version>3.1.2</version> <!-- M6 DecodeException but got java.nio.BufferOverflowException -->
                    <configuration>
                        <properties>
                            <property>