[code-reflection] RFR: Unreflect tests [v3]

Adam Sotona asotona at openjdk.org
Fri Dec 19 17:14:36 UTC 2025


On Thu, 18 Dec 2025 14:44:14 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> This PR implement `Unreflect` test tool and re-runs tests in the unreflected form.
>> 
>> `TestSwitchExpressionOp` and `TestSwitchStatementOp` yet to be temporary excluded as failing  (see [JDK-8373573](https://bugs.openjdk.org/browse/JDK-8373573)).
>
> Adam Sotona has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - obsolete debug print
>    
>  - new line

If I understand it correctly `TreePosTest` is trying to compile the tests. However here we are re-executing the tests with unreflected classes. I assume doing it globally on a tree of tests (without alteration of the test headers) would require some kind of `jtreg` runtime plugin or patch.

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

PR Comment: https://git.openjdk.org/babylon/pull/762#issuecomment-3675875679


More information about the babylon-dev mailing list