7 Mar
2021
7 Mar
'21
1:17 a.m.
On Fri, 5 Mar 2021 21:25:20 GMT, Joe Darcy <darcy@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