-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Since we have a few issues open to support Java 19 syntax, such as #12507 and #12515, we should create a new openjdk19-with-checks-nonjavadoc-error
task. We will generate a new suppression file, etc. as we have done in the past.
I think we should add this as a new task, instead of replacing the jdk17 task, to make sure that we can keep parsing jdk17 until all syntax updates for jdk19 are complete.
See #11185 for previous ticket for openjdk17.
script:
#!/bin/bash
OUTPUT="test"
while [ -n "$OUTPUT" ]
do
OUTPUT=$(.ci/no-exception-test.sh openjdk19-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/openjdk19-excluded.files
rm -rf .ci-temp/contribution
git add config/projects-to-test/openjdk19-excluded.files
git commit -m "added another file filter"
done