Integrated: 8377334: Test framework used by langtools regression tests can produce false positives
Chen Liang
liach at openjdk.org
Mon Feb 9 21:39:05 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.
Testing: tier 1 and 2 passed, should be good for all javac tests.
Thanks for the review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29620#issuecomment-3864540527
PR Comment: https://git.openjdk.org/jdk/pull/29620#issuecomment-3865898499
More information about the compiler-dev
mailing list