On Fri, 7 Aug 2026 03:28:35 GMT, David Holmes <[email protected]> wrote:

>> Now I remember, we used to return nullptr for name which caused some old 
>> tool to crash, so we shouldn't return nullptr.
>
> Unless the name is `<init>` or `<clinit>`, if it contains `<` or `>` it is an 
> illegal name.  Symbols should only contain valid language elements. (Yes I'm 
> being a bit picky - sorry.)
> 
> If the reason for not having the actual name is important to convey then 
> perhaps something more explicit like `Unknown_deleted_by_redefinition` would 
> work?

That would be a decent alternative.  Maybe unknown not capitalized?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32202#discussion_r3751359990

Reply via email to