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

DelegatingClassLoader name could be used to indicate reflected class

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 11
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
      None

      Description

      Core reflection uses one DelegatingClassLoader instance per Generated{Method|Constructor}Impl class.

      Since there are often many of them and a list of "DelegatingClassLoader" loaders is not very enlightening in tools like jcmd, it may be useful to set its name (currently unused) to something which indicates the reflection target class.

      Orginal credits for this idea go to my SAP colleague Ralf Schmelter.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: