From 3e4914610ce70c73650c81024599e8963bfc0254 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Sat, 24 Jan 2026 13:39:44 -0600 Subject: [PATCH 1/2] Run OptimizedOnlyCompilerSuite when draft is disabled Somehow this suite was permenently disabled, and one test has broken in the meantime due to String.contains being simplified to the point it can more easily be inlined. When #10147 is fixed, this can be re-enabled. Fixes #10253 --- user/build.xml | 6 +++--- .../com/google/gwt/dev/jjs/OptimizedOnlyCompilerSuite.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/user/build.xml b/user/build.xml index eeb048fe690..1d352ccc0f8 100755 --- a/user/build.xml +++ b/user/build.xml @@ -15,7 +15,7 @@ - + @@ -432,7 +432,7 @@ value="${test.args.web.selenium} -draftCompile"/> + excludes="${gwt.junit.testcase.web.excludes},**/OptimizedOnly*"/> + excludes="${gwt.junit.testcase.web.excludes},**/OptimizedOnly*"/> Date: Wed, 18 Mar 2026 15:02:10 -0500 Subject: [PATCH 2/2] Enable optimized tests for Java 21 in CI --- .github/workflows/full-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/full-check.yml b/.github/workflows/full-check.yml index a20411227d4..21a54429e41 100644 --- a/.github/workflows/full-check.yml +++ b/.github/workflows/full-check.yml @@ -54,9 +54,10 @@ jobs: ANT_OPTS='-Dfile.encoding=UTF8 -Xmx2g' \ GWT_VERSION=HEAD-SNAPSHOT # Run the ant tasks, disabling watchFileChanges to work around a github actions limitation + # Only Java 21 will run optimized tests ant clean test dist doc \ -Dtest.jvmargs='-ea -Dgwt.watchFileChanges=false' \ - -Dtest.web.htmlunit.disable=true \ + -Dtest.web.htmlunit.disable=${{ matrix.java-version != '21' }} \ -Dtest.nometa.htmlunit.disable=true \ -Dtest.emma.htmlunit.disable=true