On Thu, 15 Jan 2026 19:32:54 GMT, Andy Goryachev <[email protected]> wrote:

>> I really didn't look into it that deeply, but from my understanding, there 
>> can't be an exception thrown for such a generic cast at runtime. At least 
>> not in the method itself. The class cast exception would happen at some 
>> point later after this method returns. But I am not an expert on generics.
>> 
>> I am not sure what you mean by the toString() comment though
>
> I meant classname@hashcode, like "java.lang.Object@36f6e879" may not be what 
> you expect from `.get()`.  A `null` value is the original behavior.

I am confused. Are you commenting on the right part of the diff? I don't see 
anything related to strings in this part

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2032#discussion_r2695704763

Reply via email to