Re: [PATCH] Bug in getType(Class)

Markus Dahm <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
Juozas Baliuka wrote:

> sorry, bug in bug fixing :)
>  must be :
> ...............
> if (cl.isArray())
>  return new ArrayType(getType(cl.getComponentType()),
> cl.getName().lastIndexOf('[') + 1);
> 
> .............
> 
> 
>>Hi,
>>This is fix for bug in array type handling.
>>
>>
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> 
>>--
>>To unsubscribe, e-mail:   <mailto:[email protected]>
>>For additional commands, e-mail: <mailto:[email protected]>
>>

In fact no bug fix at all is needed, since it works fine already...
Until you proof the opposite :)

>>
>>------------------------------------------------------------------------
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[email protected]>
>>For additional commands, e-mail: <mailto:[email protected]>
>>
>> Type.java
>>
>> Content-Type:
>>
>> application/octet-stream
>> Content-Encoding:
>>
>> quoted-printable
>>
>>
>> ------------------------------------------------------------------------
>> diff
>>
>> Content-Type:
>>
>> application/octet-stream
>> Content-Encoding:
>>
>> quoted-printable
>>
>>
>> ------------------------------------------------------------------------
>> Part 1.4
>>
>> Content-Type:
>>
>> text/plain
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.