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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P3
    • hs25
    • hs25
    • hotspot
    • Mac OS X

    • svc
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: