Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8322873

Duplicate -ljava -ljvm options for libinstrument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 11, 17, 21, 22, 23
    • infrastructure
    • None
    • b04

      The libinstrument library is linked against libjava and libjvm, twice. This is mostly harmless but Xcode 15.x generates a warning:

      Creating support/modules_libs/java.instrument/libinstrument.dylib from 12 file(s)
      ld: warning: ignoring duplicate libraries: '-ljava', '-ljvm'

      Digging through the history it seems like this issue was introduced with JDK-8141290.

            mikael Mikael Vidstedt
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: