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

Peter Zhelezniakov peterz at openjdk.org
Mon Oct 24 08:48:45 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.

Enabled and ran tests. DoubleAgentTest fails on Windows, but this is a known problem I guess?

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

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


More information about the jdk8u-dev mailing list