Integrated: 8263102: Expand documention of Method.isBridge

Joe Darcy darcy at openjdk.java.net
Wed Mar 10 03:47:09 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.

This pull request has now been integrated.

Changeset: 67ea3bd6
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/67ea3bd6
Stats:     42 lines in 3 files changed: 35 ins; 0 del; 7 mod

8263102: Expand documention of Method.isBridge

Reviewed-by: smarks

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

PR: https://git.openjdk.java.net/jdk/pull/2852


More information about the core-libs-dev mailing list