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

add assert to ClassUnloadEventImpl::className

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      The className converts class signature to name format and returns.
      Mandy suggested to add an assert:
        Is ClassUnloadEvent only sent for non-array reference type?
        If so, is it worth adding an assert like
           assert classSignature.startsWith('L') && classSignature.endsWith(';');

        Attachments

          Activity

            People

            Assignee:
            sspitsyn Serguei Spitsyn
            Reporter:
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: