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

add assert to ClassUnloadEventImpl::className

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15
    • 15
    • core-svc
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: