Skip to content

Run regression testing in CI over openjdk21 #13982

@nrmancuso

Description

@nrmancuso

Since we are getting ready to support JDK 21 syntax (see #13830), we should run regression testing over the openjdk21 code base, as we have done for all other recent JDK versions.

We can use the script below:

#!/bin/bash
OUTPUT="test"
while  [ -n "$OUTPUT" ]; do
    OUTPUT=$(.ci/no-exception-test.sh openjdk21-with-checks-nonjavadoc-error | grep "Caused by: " | grep -oh '/.*.java' | sed 's./.[\\\\\\/].g' | uniq)
    echo "$OUTPUT"
    echo -e "<module name=\"BeforeExecutionExclusionFileFilter\">\n  <property name=\"fileNamePattern\" value=\"$OUTPUT\$\"/>\n</module>" >> config/projects-to-test/openjdk20-excluded.files
    rm -rf .ci-temp/contribution
    git add .
    git commit -m "added another file filter"
done

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions