Skip to content

Commit

Permalink
Jetty 12.0.x Add jdk23 build (fix javadoc breaking with 23) (#12238)
Browse files Browse the repository at this point in the history
* add jdk23 build
* make jdk23 happy with javadoc
---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy authored Sep 6, 2024
1 parent c2519bb commit f0a1db1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ private <T> List<HttpField> getFields(T header, BiPredicate<HttpField, T> predic
* @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
{
Expand All @@ -715,7 +715,7 @@ default long getLongField(String name) throws NumberFormatException
* @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
{
Expand Down

0 comments on commit f0a1db1

Please sign in to comment.