Integrated: 8288134: Super class names don't have envelopes
Coleen Phillimore
coleenp at openjdk.java.net
Tue Jun 14 19:33:53 UTC 2022
On Mon, 13 Jun 2022 18:44:24 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> SystemDictionary::resolve_super_or_null() calls resolve_instance_class_or_null_helper() which strips off the L; envelope for class names then calls resolve_instance_class_or_null().
> Super class names come from the constant pool or an existing InstanceKlass in the CDS path, so is already verified by the format checker, if the name has L; and it will already get a class format error.
>
> Removed this helper and call resolve_instance_class_or_null() directly, and inlined the helper function into resolve_or_null().
>
> Tested by tier1-4 on Oracle supported platforms.
This pull request has now been integrated.
Changeset: 0f580974
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0f580974a606cf9df293dbaebf72ab86cd01b774
Stats: 26 lines in 2 files changed: 0 ins; 12 del; 14 mod
8288134: Super class names don't have envelopes
Reviewed-by: iklam, hseigel, fparain
-------------
PR: https://git.openjdk.org/jdk/pull/9144
More information about the hotspot-runtime-dev
mailing list