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

Peter Zhelezniakov peterz at openjdk.org
Mon Oct 24 14:38:54 UTC 2022


> 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.

Peter Zhelezniakov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:

  8265527: tools/javac/diags/CheckExamples.java fails after JDK-8078024 8u backport

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

Changes: https://git.openjdk.org/jdk8u-dev/pull/146/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=146&range=01
  Stats: 5 lines in 2 files changed: 1 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/146.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/146/head:pull/146

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


More information about the jdk8u-dev mailing list