RFR: 8367531: Template Framework: use scopes and tokens instead of misbehaving immediate-return-queries [v14]
Emanuel Peter
epeter at openjdk.org
Thu Nov 6 12:43:18 UTC 2025
On Thu, 6 Nov 2025 12:37:31 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/lib/template_framework/Renderer.java line 145:
>>
>>> 143: // Ensure CodeFrame consistency.
>>> 144: if (baseCodeFrame != currentCodeFrame) {
>>> 145: throw new RuntimeException("Internal error: Renderer did not end up at base CodeFrame.");
>>
>> Optionally, something for another RFE (there are more "Internal error message"): You could turn these runtime exception into `TemplateFrameworkException`s add a hint to report a bug.
>
> Sure, let me file an RFE :)
[JDK-8371407](https://bugs.openjdk.org/browse/JDK-8371407)
TemplateFramework: replace internal RuntimeException with custom error
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27255#discussion_r2498808806
More information about the hotspot-compiler-dev
mailing list