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

Remove NULL check in DumpTimeClassInfo::is_excluded

    XMLWordPrintable

    Details

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

      Description

      This is left over code from previous refactoring. The comment is incorrect now -- we never set _klass to NULL.

         bool is_excluded() {
      - // _klass may become NULL due to DynamicArchiveBuilder::set_to_null
      - return _excluded || _failed_verification || _klass == NULL;
      + return _excluded || _failed_verification;
         }
       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: