On Thu, 15 May 2025 13:51:29 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
> It cannot be made an instance method, though. There's one usage which needs a > static invocation. @rgiulietti If you are referring to [this invocation](https://github.com/fabioromano1/jdk/blob/5ad26a14049e1765d9ef46f307d723dd4b315382/src/java.base/share/classes/java/math/BigInteger.java#L3126), the local variable `exp` is just an alias of `y.mag`, so it can be made an instance invocation. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25166#issuecomment-2883932854