On Wed, 3 Jul 2024 12:04:37 GMT, Chen Liang <li...@openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/constant/MethodTypeDescImpl.java 
>> line 226:
>> 
>>> 224:                 }
>>> 225:             });
>>> 226:             mtype = mt;
>> 
>> Can you drop this intermediate variable, and just assign to `mtype` directly?
>
> Then I would have to suppress the deprecation warning for the security 
> manager over the whole method. Is that acceptable?

Ah, I see. It's fine like this then.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19991#discussion_r1664171625

Reply via email to