RFR: 8370983: Add methods for primitive operators to support method handles [v2]

Per Minborg pminborg at openjdk.org
Mon Nov 3 09:19:02 UTC 2025


On Fri, 31 Oct 2025 20:59:40 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Initial draft of a partial set of methods wrapping primitive operators to get feedback on the class providing this functionality.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Respond to review feedback, fix typos, etc.

I wonder if we could group the various primitive operations in separate inner classes? Like `Operators.Long` and so on in order to structure the class that otherwise would have over a hundred methods.

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

PR Comment: https://git.openjdk.org/jdk/pull/28081#issuecomment-3479568790


More information about the core-libs-dev mailing list