On Sun, 7 Sep 2025 14:50:56 GMT, Guanqiang Han <[email protected]> wrote:

>> Validate class name length immediately after GetStringUTFLength() in 
>> Class.forName0. This prevents potential issues caused by overly long class 
>> names before they reach later code that would reject them, throwing 
>> ClassNotFoundException early.
>
> Guanqiang Han has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Use a different native method for testNative, since the implementation of 
> forName has changed.

Thanks for the updates and expanded tests.

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26802#pullrequestreview-3197343416

Reply via email to