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

CDS runtime code should check exceptions

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      E.g., https://github.com/openjdk/jdk/blob/master/src/hotspot/share/classfile/systemDictionaryShared.cpp#L739

      Handle SystemDictionaryShared::get_shared_jar_manifest(int shared_path_index, TRAPS) {
      ...
          manifest = create_jar_manifest(src, size, THREAD); // <-- here
          atomic_set_shared_jar_manifest(shared_path_index, manifest());

      A few of the THREAD calls should be changed to CHECK

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccheung Calvin Cheung
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: