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

Java_sun_jvm_hotspot_asm_Disassembler_load_1library should use THROW_NEW_DEBUGGER_EXCEPTION_ not THROW_NEW_DEBUGGER_EXCEPTION

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: hs25
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Environment:

      Mac OS X

    • Subcomponent:
      svc
    • OS:
      os_x

      Description

      Java_sun_jvm_hotspot_asm_Disassembler_load_1library should use THROW_NEW_DEBUGGER_EXCEPTION_ not THROW_NEW_DEBUGGER_EXCEPTION

      THROW_NEW_DEBUGGER_EXCEPTION does not return value
      THROW_NEW_DEBUGGER_EXCEPTION_ returns value and should be the one called in Java_sun_jvm_hotspot_asm_Disassembler_load_1library, which is a method that returns value.

      Ie. at line 458 instead of:

          THROW_NEW_DEBUGGER_EXCEPTION(error_message);

      we need:


          THROW_NEW_DEBUGGER_EXCEPTION_(error_message, 0L);

      File hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m

        Attachments

          Activity

            People

            • Assignee:
              gziemski Gerard Ziemski
              Reporter:
              gziemski Gerard Ziemski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: