Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 314564] New: [patch] org.eclipse.tm.tcf.core.AbstractChannel#write() mangles binary data

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

           Summary: [patch]
                    org.eclipse.tm.tcf.core.AbstractChannel#write()
                    mangles binary data
    Classification: DSDP
           Product: Target Management
           Version: 3.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: ed.swartz@xxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx


We're implementing a custom channel from AbstractChannel and when using the
filesystem service and a binary payload, we found that our channel
implementation was cutting off messages unexpectedly.  

It looks like a simple Java coding error in #write(byte[]) -- since bytes are
sign extended when passed as int, a few of these will look like MARKER_EOM and
MARKER_EOS.

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