Skip to content

Commit

Permalink
Support JDK19
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Aug 10, 2022
1 parent da45922 commit 5bfa401
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions etc/jenkins/Jenkinsfile_ci_build
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ pipeline {
'''
}
}
stage('JDK 16 ') {
stage('JDK 19 ') {
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk16-latest'
jdk 'openjdk-jdk19-latest'
maven 'apache-maven-latest'
}
steps {
Expand Down
2 changes: 1 addition & 1 deletion examples/groovy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-all</artifactId>
<type>pom</type>
<version>4.0.0-alpha-3</version>
<version>4.0.4</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import org.glassfish.jersey.server.oauth1.OAuth1ServerProperties;
import org.glassfish.jersey.servlet.ServletProperties;
import org.glassfish.jersey.test.TestProperties;
import org.junit.Ignore;
import org.junit.Test;

public class SystemPropertiesConfigurationModelTest {
Expand Down Expand Up @@ -77,6 +78,7 @@ public void allPropertyClassLoaded() throws IOException {
}

@Test
@Ignore("System.setSecurityManager is deprecated in JDK 19 and there is no replacement")
public void propertyLoadedWhenSecurityException() {
final String TEST_STRING = "test";
SecurityManager sm = System.getSecurityManager();
Expand Down

0 comments on commit 5bfa401

Please sign in to comment.