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

Add getArgumentTypes to StackTraceElement

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description



      Name: gm110360 Date: 09/20/2002


      FULL PRODUCT VERSION :
      build 1.4.1-b21

      FULL OPERATING SYSTEM VERSION : Platform independent


      ADDITIONAL
      OPERATING SYSTEMS : Platform independent



      A DESCRIPTION OF THE PROBLEM :
      StackTraceElement contains methods getClassName()
      and
      getMethodName() to return the name of the class and
      method
      containing the execution point represented by
      the stack
      frame.

      Unfortunately, if the method name is overloaded, this
      does
      not uniquely identify the method.

      Adding a method:
      Class[]
      getArgumentTypes()
      which returns the argument types to the method
      would
      allow the method to be uniquely specified.


      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 164775)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjb Josh Bloch
                Reporter:
                gmanwanisunw Girish Manwani (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: