On Wed, 22 May 2024 09:44:18 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
>> Improve `java/lang/reflect/Method.java` by eliminating needless cloning of >> Class[0] instances. This cloning is intended to prevent callers from >> changing array contents, but smany Methods have zero exceptions or zero >> parameters, and returning the original `Class[0]` is sufficient. > > Please also enable GHA testing: https://github.com/jengebr/jdk/actions. You > may need to trigger the test run manually after this, since the PR hook have > already missed it. Go to "OpenJDK Sanity Checks" on the left on that page, > then select your branch on in the drop-down on the right, and trigger the run. @shipilev JMH benchmark is added. ------------- PR Comment: https://git.openjdk.org/jdk/pull/19327#issuecomment-2142587755