[code-reflection] Integrated: Method code model uniquness
Mourad Abbay
mabbay at openjdk.org
Fri May 2 23:53:00 UTC 2025
On Tue, 29 Apr 2025 10:52:58 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
> Multiple `Method` objects that represent the same java method, have different code models. This is because every time we call `Class.getMethod` or `Class.getDeclaredMethod` we get a newly created instance. One possible solution is to attach the model to the root `Method` object.
This pull request has now been integrated.
Changeset: b6232637
Author: Mourad Abbay <mabbay at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/b6232637eca8a3a5fca317cf0f9c8402e8745146
Stats: 48 lines in 2 files changed: 46 ins; 0 del; 2 mod
Method code model uniquness
Reviewed-by: psandoz, mcimadamore
-------------
PR: https://git.openjdk.org/babylon/pull/415
More information about the babylon-dev
mailing list