JDK-8039281 : ErrorHandling macros log wrong source position
  • Type: Bug
  • Component: install
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2014-04-04
  • Updated: 2014-07-29
  • Resolved: 2014-04-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u20Fixed 9 b12Fixed
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

Not Verified by SQE. Internal issue.