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

ErrorHandling macros log wrong source position

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: install
    • Labels:
      None
    • Resolved In Build:
      b12
    • OS:
      windows
    • Verification:
      Not verified

      Backports

        Description

        ErrorHandling macros (JDS_REPORT_ERROR, JDS_REPORT_UNKNOWN_ERROR used by JDS_CATCH_*) logs incorrect source for the log record. This makes hard to understand code position where the exception was caught:

        [2014/04/01 17:29:08.176, common_test.exe (PID: 8724, TID: 7444), ErrorHandling.cpp:27 (reportUnknownError)]
        ERROR: Unknown exception caught
        [2014/04/01 17:29:08.176, common_test.exe (PID: 8724, TID: 1644), ErrorHandling.cpp:21 (reportError)]
        ERROR: Exception with message 'bad allocation' caught

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                amenkov Alex Menkov
                Reporter:
                amenkov Alex Menkov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: