RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v3]

David Schlosnagle duke at openjdk.org
Tue Nov 1 00:06:35 UTC 2022

On Fri, 28 Oct 2022 20:04:18 GMT, Rémi Forax <forax at 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

More information about the compiler-dev mailing list