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

Non-empty directory in module path is not handled properly at CDS/AppCDS dump time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14
    • Verification:
      Verified

      Backports

        Description

        CDS/AppCDS does not support archiving classes from directory. At dump time, non-empty directory in -Xbootclasspath/a path and -cp path is being detected and reported as a fatal error. However, it seems non-empty directory in module path is not reported at dump time.

        Module classes in directory from --module-path are loaded at dump time, however the shared path index for those classes are not set correctly. The index values are -1 for those classes. As a result, theose archived classes cannot be used at runtime.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ccheung Calvin Cheung
                  Reporter:
                  jiangli Jiangli Zhou
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: