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

Changes for JDK-8005523 requires updates to refs.allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 8
    • 8
    • core-libs
    • b89
    • Verified

    Description


      The changes for JDK-8005523 result in additional dependencies from jsse.jar to Kerberos classes that only exist in compact3 or the full JRE. These references need to be ignored when checking builds of compact1 and compact2. The following is a sample build failure to demonstrate the issue:


      ## Starting profiles
      Analyzing /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2re-compact1-image/lib/rt.jar
      Analyzing /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2re-compact1-image/lib/resources.jar
      Analyzing /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2re-compact1-image/lib/jce.jar
      Analyzing /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2re-compact1-image/lib/jsse.jar
      sun.security.ssl.krb5.Krb5ProxyImpl -> javax.security.auth.kerberos.KeyTab (unknown type)
      sun.security.ssl.krb5.KerberosClientKeyExchangeImpl -> sun.security.jgss.krb5.ServiceCreds (not allowed)
      One or more unexpected references encountered
      Check /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/jdk/btclasses/build/tools/deps/refs.allowed is up to date
      make[2]: *** [/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/libprofile_1/_jars_checked] Error 255
      make[1]: *** [profile_1] Error 2
      make: *** [profiles-only] Error 2

      Attachments

        Activity

          People

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: