[code-reflection] RFR: 8324789: Add line number information to code models [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Apr 25 10:47:36 UTC 2024


On Thu, 25 Apr 2024 10:44:21 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Cleanup
>
> test/jdk/java/lang/reflect/code/location/TestLocation.java line 49:
> 
>> 47:     public void testLocation() {
>> 48:         CoreOps.FuncOp f = getFuncOp(ClassWithReflectedMethod.class, "f");
>> 49:         f.traverse(null, (o, ce) -> {
> 
> Does this test also cover the method call and the `return` ?

Nevermind, yes - it does, as it traverses the code model recursively.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/54#discussion_r1579264652


More information about the babylon-dev mailing list