Jetty 12.0.x Add jdk23 build (fix javadoc breaking with 23) (#12238)

* add jdk23 build
* make jdk23 happy with javadoc
---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2024-09-06 10:57:42 +10:00 committed by GitHub
parent c2519bbf48
commit f0a1db100f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 2 deletions

11
Jenkinsfile vendored
View File

@ -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 {

View File

@ -699,7 +699,7 @@ public interface HttpFields extends Iterable<HttpField>, Supplier<HttpFields>
* @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<HttpField>, Supplier<HttpFields>
* @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
{