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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • infrastructure
    • None
    • b20

      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

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

              Created:
              Updated:
              Resolved: