mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8026894: Improve VerifyError message about overriding a final method
Add full class name to error message. Reviewed-by: fparain, zgu, lfoltan
This commit is contained in:
parent
6db67f9317
commit
08e90ebfcb
2 changed files with 133 additions and 1 deletions
|
@ -4590,8 +4590,9 @@ void ClassFileParser::check_final_method_override(instanceKlassHandle this_klass
|
|||
Exceptions::fthrow(
|
||||
THREAD_AND_LOCATION,
|
||||
vmSymbols::java_lang_VerifyError(),
|
||||
"class %s overrides final method %s.%s",
|
||||
"class %s overrides final method %s.%s%s",
|
||||
this_klass->external_name(),
|
||||
super_m->method_holder()->external_name(),
|
||||
name->as_C_string(),
|
||||
signature->as_C_string()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue