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

Refactor module related locked_create_entry_or_null() functions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 13
    • hotspot
    • b06

      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.

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

              Created:
              Updated:
              Resolved: