Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 327494] New: add IMemory.ErrorOffset RANGE_KEY_XXXX static strings for use by MemoryProxy, etc

https://bugs.eclipse.org/bugs/show_bug.cgi?id=327494 
Product/Component: Target Management / TCF

           Summary: add IMemory.ErrorOffset RANGE_KEY_XXXX static strings
                    for use by MemoryProxy, etc
    Classification: DSDP
           Product: Target Management
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: kirk.beitz@xxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx


Build Identifier: 

private class MemoryProxy.MemoryErrorReport makes use of several strings
("addr", "size", "stat", "msg") in interpreting an error report for getMemory()
call where the range may be broken into valid and invalid ranges.

i recommend using static strings for these range keys, of the form
RANGE_KEY_ADDR, etc.  this would be in conforming with other static string use
in the same interface, and would make it clearer in agents in which such
strings are being constructed where the values are coming from, and (using
eclipse ctrl-shift-g in the workspace) where they are used so that the proper
construction can be made.

Reproducible: Always

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top