RFR: 8369428: Include method name in 'does not override or implement' diagnostics
Liam Miller-Cushon
cushon at openjdk.org
Wed Oct 8 14:21:13 UTC 2025
Hi,
Please consider this small improvement to `compiler.err.method.does.not.override.superclass` diagnostics, to include the method name.
Before:
T.java:2: error: method does not override or implement a method from a supertype
@Override
^
After:
T.java:2: error: f() does not override or implement a method from a supertype
@Override
^
1 error
-------------
Commit messages:
- 8369428: Include method name in 'does not override or implement' diagnostics
Changes: https://git.openjdk.org/jdk/pull/27692/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27692&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8369428
Stats: 6 lines in 5 files changed: 1 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/27692.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27692/head:pull/27692
PR: https://git.openjdk.org/jdk/pull/27692
More information about the compiler-dev
mailing list