On Mon, 16 Jun 2025 17:32:20 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

>> It's really unusual in our source code to pass const Metadata pointers 
>> because of the history of the code.  We should probably start doing that.  
>> I'll change this to const and see if there's a fall out.
>
> Much of the metadata parameter declarations aren't const-safe.  Adding this 
> one const has a big fall-out leading to some jni calls.  This would be is a 
> good project and we should have it for new code, which some of this is.  I'll 
> see if can add any consts.

Thanks for investigating!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25267#discussion_r2151047748

Reply via email to