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

logging: Logger.inferCaller is non-portable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • generic, x86
    • generic, windows_nt
    • Verified


      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: