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

Configuration with --disable-cds --enable-generate-classlist should be reported as an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      This bug just follows JDK-8232757.

      * Reproduce
      -------------------------------------
      bash configure --disable-cds --enable-generate-classlist
      make images
      -------------------------------------

      This kind of configuration, with both --disable-cds and --enable-generate-classlist, will fail.
      The failure is caused by -XX:DumpLoadedClassList [1], which doesn't work as expected when cds is disabled.

      It might be worth producing an error for this kind of build configuration.

      [1] http://hg.openjdk.java.net/jdk/jdk/file/ca620b06b5c9/make/GenerateLinkOptData.gmk#l68

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: