[jdk8u-dev] RFR: 8265527: tools/javac/diags/CheckExamples.java fails after JDK-8078024 8u backport
Peter Zhelezniakov
peterz at openjdk.org
Fri Oct 21 09:33:29 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.
-------------
Commit messages:
- 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=00
Issue: https://bugs.openjdk.org/browse/JDK-8265527
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