RFR: 4397513: (reflect) InvocationHandler.invoke javadoc slightly misleading for "method" parameter [v3]
Chen Liang
liach at openjdk.org
Thu Oct 23 23:49:25 UTC 2025
> The `method` parameter documentation for `InvocationHandler::invoke` does not indicate that it may be one of the 3 Object methods `hashCode`, `equals`, or `toString`. This doc-only improvement clarifies that, links to the Proxy section about declaring class selection, and updates the "the interface method" occurrences to be "the invoked method" to reflect the method may be from `Object`.
Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
grammar
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27943/files
- new: https://git.openjdk.org/jdk/pull/27943/files/f7a5c825..c053932a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27943&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27943&range=01-02
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/27943.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27943/head:pull/27943
PR: https://git.openjdk.org/jdk/pull/27943
More information about the core-libs-dev
mailing list