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

Refactor module related locked_create_entry_or_null() functions

    XMLWordPrintable

    Details

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

      Description

      The ModuleEntryTable::locked_create_entry_or_null() and PackageEntryTable::locked_create_entry_or_null() functions can be improved.

      They unintuitively return null if the requested entry exists. In some cases, this is taken to mean the creation failed. In others, it is taken to mean that the entry already exists.

      Additionally, PackageEntryTable::locked_create_entry_or_null() need not return a value.

        Attachments

          Activity

            People

            • Assignee:
              hseigel Harold Seigel
              Reporter:
              hseigel Harold Seigel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: