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

logging: Logger.inferCaller is non-portable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic, x86
    • OS:
      generic, windows_nt
    • Verification:
      Verified

      Description


      As part of the Logging APIs, the Logger class needs to be able
      to infer the caller for certain convenience methods.

      Right now it implements this by creating an Exception(), printing
      the backtrace and searching through the backtrace.

      This is both inefficient and non-portable, as not all VMs may have
      the same backtarce format.

      graham.hamilton@Eng 2001-05-28

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ghamiltosunw Graham Hamilton (Inactive)
                Reporter:
                ghamiltosunw Graham Hamilton (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: