On Fri, 28 Oct 2022 20:04:18 GMT, Rémi Forax <fo...@openjdk.org> wrote:

>> But it's an implementation details, BTW i wonder if the limitation is still 
>> valid, i know that John has changed the implementation of the BSM in that 
>> area.
>
> Anyway, i think you are right, this can be public

If this is a public int field, it will be inlined to class file byte code at 
compile time, which may not be what you want if this value needs to change in 
the future. If this needs to be exposed, should it be as a public method?

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

PR: https://git.openjdk.org/jdk/pull/10889

Reply via email to