Integrated: 8377334: Test framework used by langtools regression tests can produce false positives

Chen Liang liach at openjdk.org
Mon Feb 9 21:39:07 UTC 2026


On Sat, 7 Feb 2026 00:41:15 GMT, Chen Liang <liach at openjdk.org> wrote:

> The compile task in JavacTemplateTestBase skipped some steps, resulting in missing errors.
> 
> Two test cases in RecordCompilationTests introduced unrelated compile errors that hide the original error. One test case in SealedCompilationTest does not declare a base nested class as static, so the subclass cannot use a static modifier and fails compilation. Simply made the base nested class static to allow that.

This pull request has now been integrated.

Changeset: ffb6279c
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ffb6279c885e9d9a1a53ce7657390e286136c4b7
Stats:     10 lines in 3 files changed: 2 ins; 0 del; 8 mod

8377334: Test framework used by langtools regression tests can produce false positives

Co-authored-by: Vicente Romero <vromero at openjdk.org>
Reviewed-by: vromero

-------------

PR: https://git.openjdk.org/jdk/pull/29620


More information about the compiler-dev mailing list