RFR: 8367531: Template Framework: use scopes and tokens instead of misbehaving immediate-return-queries [v29]

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Nov 14 14:00:21 UTC 2025


On Fri, 14 Nov 2025 13:42:25 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> So I looked for mentions of "string template", and I only found the passage below from `Template.java`. Let me know if there are more that you were thinking about.

There are a few mentions at TestTutorial.java.

> I think that's still largely accurate now. We need hashtag replacements because we don't have string templating. But that does not mean we would get rid of the Template Framework once we have string templating. Though I suppose we might be able to get rid of hashtag replacements at that point.
> 
> @robcasloz What do you think: does it still need more nuance? Should I just delete it? Or keep as is?

Thanks for the explanation. I'm still failing to see how one would combine string templates and explicit scoping, but it is good enough for me at this point if you have a clear plan of how it could be done.

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

PR Comment: https://git.openjdk.org/jdk/pull/27255#issuecomment-3532929124


More information about the hotspot-compiler-dev mailing list