Clarify the name of the declaring class of StackTraceElement

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 21
    • Component/s: core-libs
    • b12

      The declaringClass parameter of the StackTraceElement constructor should be the "binary name" not "fully qualified name". Same for `StackTraceElement::getClassName`. The specification should be updated.

      Note that the javadoc of `StackWalker.StackFrame::getClassName` is correct and it specifies that it returns the binary name.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: