RFR: 8263102: Expand documention of Method.isBridge
liach
github.com+7806504+liach at openjdk.java.net
Sun Mar 7 01:17:05 UTC 2021
On Fri, 5 Mar 2021 21:25:20 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> The existing documentation of Method.isBridge isn't terribly helpful to the reader. This RFE proposes to given a common example of how bridge methods are used. The JLS does *not* have a section discussing bridge methods in detail; bridge methods are a compilation technique for lowering the Java language to the JVM, they are not a language feature per se. The example given is not exhaustive; there can be and are other uses of bridge methods.
>
> Once the text is agreed to; I'll update the copyright year as well.
I suggest briefly mentioning generic specialization as an example as well.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2852
More information about the core-libs-dev
mailing list