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

Refactor module related locked_create_entry_or_null() functions

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • 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

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: