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

Dependency analyzer needs exclusion for profile builds with JFR disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • None
    • tools
    • b78
    • Not verified

      The new jar dependency analyzer detects unsatisfied dependencies in a profile build with JFR disabled:

      Analyzing /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/images/j2re-compact3-image/lib/management-agent.jar
      Analyzing /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/images/j2re-compact3-image/lib/jce.jar
      Analyzing /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/images/j2re-compact3-image/lib/resources.jar
      Analyzing /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/images/j2re-compact3-image/lib/jsse.jar
      Analyzing /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/images/j2re-compact3-image/lib/rt.jar
      Analyzing /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/images/j2re-compact3-image/lib/tzdb.jar
      com.sun.management.MissionControl -> com.oracle.jrockit.jfr.management.FlightRecorderMBean (unknown type)
      com.sun.management.MissionControl -> com.oracle.jrockit.jfr.FlightRecorder (unknown type)
      One or more unexpected references encountered
      Check /export/users/dh198349/jdk8-build/build/b77c/linux-i586-ea/jdk/btclasses/build/tools/deps/refs.allowed is up to date

      Fix is to add these two entries to ref.allowed

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: