RFR: 8263102: Expand documention of Method.isBridge [v3]

Joe Darcy darcy at openjdk.java.net
Tue Mar 9 03:27:29 UTC 2021


> 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.

Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:

  Respond to review feedback.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2852/files
  - new: https://git.openjdk.java.net/jdk/pull/2852/files/d3b7a3c3..44552784

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2852&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2852&range=01-02

  Stats: 20 lines in 1 file changed: 9 ins; 7 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2852.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2852/head:pull/2852

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


More information about the core-libs-dev mailing list