harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Deakin <oliver.dea...@googlemail.com>
Subject Re: [j9] bug
Date Tue, 15 Aug 2006 13:43:48 GMT
Geir Magnusson Jr wrote:
> Oliver Deakin wrote:
>   
>> Interesting test case! ;)
>>
>> I have found the problem in the VME kernel StackTraceElement.java - this
>> will
>> be fixed for the next VME revision. The bug chops out middle zeroes from
>> the
>> line numbers, so if the line number is 102, you get 12. However, a line
>> number
>> of 112, for example, is displayed correctly, so in most cases this
>> should not
>> effect debugging.
>>     
>
> LOL! That's a cool bug!  How did that happen?  Can you share some detail?
>   

Basically there's a loop that converts the line number digit by digit 
into chars before it
is printed, but it's a little over-enthusiastic where zeroes are 
concerned :) Unfortunately
it skips the StringBuffer.append() call for 0 digits in the middle of 
the line number.

Regards,
Oliver

> geir
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>   

-- 
Oliver Deakin
IBM United Kingdom Limited


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message