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

Joe Darcy darcy at openjdk.java.net
Sat Mar 6 17:44:18 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:

  Improve linkage for isSynethetic.

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

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

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

  Stats: 4 lines in 3 files changed: 3 ins; 0 del; 1 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