diff --git a/Jenkinsfile b/Jenkinsfile index baba215004a..16c7c1a7a68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,17 @@ pipeline { } } + stage("Build / Test - JDK23") { + agent { node { label 'linux' } } + steps { + timeout( time: 180, unit: 'MINUTES' ) { + checkout scm + mavenBuild( "jdk23", "clean install -Dspotbugs.skip=true -Djacoco.skip=true", "maven3") + recordIssues id: "jdk23", name: "Static Analysis jdk23", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), javaDoc()] + } + } + } + stage("Build / Test - JDK17") { agent { node { label 'linux' } } steps { diff --git a/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java b/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java index 05bed910083..66db59325e3 100644 --- a/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java +++ b/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java @@ -699,7 +699,7 @@ public interface HttpFields extends Iterable, Supplier * @return the value of the field as a {@code long}, * or -1 if no such field is present * @throws NumberFormatException if the value of the field - * cannot be converted to a {@link long} + * cannot be converted to a {@code long} */ default long getLongField(String name) throws NumberFormatException { @@ -715,7 +715,7 @@ public interface HttpFields extends Iterable, Supplier * @return the value of the field as a {@code long}, * or -1 if no such field is present * @throws NumberFormatException if the value of the field - * cannot be converted to a {@link long} + * cannot be converted to a {@code long} */ default long getLongField(HttpHeader header) throws NumberFormatException {