On 18/10/2016 22:29, Mark Juszczec wrote:
> On Oct 18, 2016 4:45 PM, "Mark Juszczec" <mark.juszc...@gmail.com> wrote:
>>
>>
>>
>> On Tue, Oct 18, 2016 at 2:58 PM, Mark Juszczec <mark.juszc...@gmail.com>
> wrote:
>>
>> Converting them to hex I see
>>
>> -61 = FFFFFFFFFFFFFFC3
>>
>> -117 = FFFFFFFFFFFFFF8B
>>
>> I know
>>
>> Ë = 0xC3 0x8B
>>
>> so I'm assuming the Fs are extraneous.
>>
>> However, I'd be much more comfortable with all this if I got
>>
>> 0000000000000000C3
>> 00000000000000008B
>>
>> Is this a weird debugger anomaly or is it an indication something has
>> already screwed up my data?
> 
> I don't know if this is relevant, but I when I saw the values I emailed I
> was in a remote debugging session.
> 
> I was running Spring Tool Suite on Windows (7, I think) and hooking up to
> my app running on Linux centos (7, I think).
> 
> Tomcat and apache are also running on the Linux system.

Java handles bytes as signed (-128 to 127) but the data in the input
stream is unsigned. The additional Fs are an artefact of whatever those
bytes were cast to.

It looks normal to me.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to