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

Remove NULL check in DumpTimeClassInfo::is_excluded

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • None
    • hotspot
    • b08

      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;
         }
       

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

              Created:
              Updated:
              Resolved: