[jdk8u-dev] RFR: 8265527: tools/javac/diags/CheckExamples.java fails after JDK-8078024 8u backport

Severin Gehwolf sgehwolf at openjdk.org
Fri Oct 21 10:16:01 UTC 2022


On Fri, 21 Oct 2022 09:28:11 GMT, Peter Zhelezniakov <peterz at openjdk.org> wrote:

> This fix reverts some of the changes made to jtreg tests by the 8078024 backport. Changes to javac itself are not reverted.
> 
> The failing test checks error messages emitted by javac while compiling invalid code. The exact messages differ in JDKs 8 and 9, where 8078024 fix was backported from. So this fix updates the expected messages to match those issued by JDK8.

@petermz Thanks, please enable testing on your fork (it won't run this test, but anyway).

@zzambers Please take a look when you get a chance.

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

PR: https://git.openjdk.org/jdk8u-dev/pull/146


More information about the jdk8u-dev mailing list