[code-reflection] RFR: Adding String Concatenation to Code Model

Ian Graves igraves at openjdk.org
Tue Apr 9 16:18:20 UTC 2024


On Mon, 8 Apr 2024 21:08:16 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Adding String concatenation to the code model and interpreter.
>
> test/jdk/java/lang/reflect/code/TestConcat.java line 160:
> 
>> 158: 
>> 159: 
>> 160:     record Triple(Class<?> first, Class<?> second, String third) {
> 
> Rename to `TestMethodData`?, where the third argument can be moved to the first and renamed to `methodName`? Then you can add functionality on this record to obtain the method from its components and to create the args array.

Oddly enough I renamed it locally but I suspect it got caught up in a wave of undos. Thanks for the catch.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/47#discussion_r1557936042


More information about the babylon-dev mailing list