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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • hotspot
    • b14
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: