diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index e9005ada..a49eb9cd 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -48,6 +48,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
+ - name: Setup JDK 17
+ uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml
index e020343d..9d73cdf3 100644
--- a/.github/workflows/pull-request-build.yml
+++ b/.github/workflows/pull-request-build.yml
@@ -16,10 +16,10 @@ jobs:
timeout-minutes: 130
steps:
- uses: actions/checkout@v4
- - name: Set up JDK 11
+ - name: Set up JDK 17
uses: actions/setup-java@v4
with:
- java-version: '11'
+ java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Apache Maven
diff --git a/javadoc/pom.xml b/javadoc/pom.xml
index 425bddf8..f4b965d9 100644
--- a/javadoc/pom.xml
+++ b/javadoc/pom.xml
@@ -46,15 +46,15 @@
test
- org.eclipse.equinox
- app
- 1.3.200-v20130910-1609
+ org.eclipse.platform
+ org.eclipse.equinox.app
+ 1.7.0
test
org.eclipse.jdt
- core
- 3.3.0-v_771
+ org.eclipse.jdt.core
+ 3.37.0
test
diff --git a/javadoc/src/test/java/org/apache/cxf/xjc/javadoc/JavadocTestHelper.java b/javadoc/src/test/java/org/apache/cxf/xjc/javadoc/JavadocTestHelper.java
index 949e31d7..d194ba67 100644
--- a/javadoc/src/test/java/org/apache/cxf/xjc/javadoc/JavadocTestHelper.java
+++ b/javadoc/src/test/java/org/apache/cxf/xjc/javadoc/JavadocTestHelper.java
@@ -41,11 +41,13 @@ public static Matcher javadocContains(final String comment) {
@Override
protected boolean matchesSafely(Javadoc javadoc) {
- TagElement tagElement = (TagElement)javadoc.tags().get(0);
- List> fragments = tagElement.fragments();
- for (Object fragment : fragments) {
- if (fragment != null && fragment.toString().contains(comment)) {
- return true;
+ if (!javadoc.tags().isEmpty()) {
+ TagElement tagElement = (TagElement)javadoc.tags().get(0);
+ List> fragments = tagElement.fragments();
+ for (Object fragment : fragments) {
+ if (fragment != null && fragment.toString().contains(comment)) {
+ return true;
+ }
}
}
return false;
diff --git a/pom.xml b/pom.xml
index 9796c9d5..161fe28e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,9 +45,9 @@
4.0.1
- 11
+ 17
4.0.2
- 3.0.2
+ 4.0.5
${basedir}/target/classes
true
diff --git a/runtime/pom.xml b/runtime/pom.xml
index 0084a1af..02750bdb 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -36,6 +36,13 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ --add-opens java.base/java.util=ALL-UNNAMED
+
+