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

Bug: 302395149
Test: toolchain/jdk/build/build-openjdk21-linux.sh
Change-Id: I70e9682c4253e4b5e19741606bc838e1c45c8cbe
1 file changed
tree: 3c7289e59d8a5568703b0c6de826bbd7f6caacd2
  1. .github/
  2. .jcheck/
  3. bin/
  4. doc/
  5. make/
  6. src/
  7. test/
  8. .gitattributes
  9. .gitignore
  10. ADDITIONAL_LICENSE_INFO
  11. ASSEMBLY_EXCEPTION
  12. configure
  13. CONTRIBUTING.md
  14. LICENSE
  15. Makefile
  16. METADATA
  17. MODULE_LICENSE_GPL
  18. OWNERS
  19. README.md
README.md

Welcome to the JDK!

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

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.