Avoid some duplicate bridge methods

Work around a long-standing compilation ordering bridge method
generation bug, and pave the way for ignoring bridges across
compilation boundaries during separation compilation (which is
good news for ijar and turbine).

Ported from I30e7916e76791fea64115865486d845d60339155.

Bug: 65645120
Fixes: 250459048
Test: toolchain/jdk/build/build-openjdk17-linux.sh && atest DuplicateBridgeMethodsTest
Change-Id: I72c0293bf0784af2ac1b653fc1a0b3d3ff3d5ce6
1 file changed
tree: 4d4551096419ca709ced501e5da4d0a8c247815e
  1. .github/
  2. .jcheck/
  3. bin/
  4. doc/
  5. make/
  6. src/
  7. test/
  8. .gitattributes
  9. .gitignore
  10. .hgtags
  11. ADDITIONAL_LICENSE_INFO
  12. ASSEMBLY_EXCEPTION
  13. configure
  14. CONTRIBUTING.md
  15. LICENSE
  16. Makefile
  17. METADATA
  18. MODULE_LICENSE_GPL
  19. OWNERS
  20. README.md
README.md

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.java.net/ for more information about the OpenJDK Community and the JDK.