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

Unchecked pending exceptions in the WhiteBox API's implementation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b105

      Backports

        Description

        In the WB API implementation, the codeBlob2objectArray method can throw exceptions. However, in the WB_GetCodeHeapEntries and WB_GetNMethod methods the exception status is not checked after returning from codeBlob2objectArray. As both WB_GetCodeHeapEntries and WB_GetNMethod can throw exceptions on their own, the exceptions thrown by codeBlob2objectArray are possibly overwritten and stay unnoticed.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  zmajo Zoltan Majo (Inactive)
                  Reporter:
                  zmajo Zoltan Majo (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: