[code-reflection] RFR: Test java version check we do in op building methods [v3]

Paul Sandoz psandoz at openjdk.org
Thu Dec 18 20:30:41 UTC 2025


On Thu, 18 Dec 2025 20:12:36 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> test/jdk/java/lang/reflect/code/writer/TestJavaVersionCheckerForMethods.java line 35:
>> 
>>> (failed to retrieve contents of file, check the PR for context)
>> What happens if you call `Op.ofMethod` again after the first failure?
>
> It will throw the `UnsupportedOperationException`. Did you expect a different behaviour ?

No, but we should test that.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/748#discussion_r2632526943


More information about the babylon-dev mailing list