You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Sergey Mashkov <co...@sergey-mashkov.net> on 2013/06/28 20:08:19 UTC
BCEL-170 Type.getArgumentTypes() throws ClassFormatException
Hi all
I'am about BCEL bug https://issues.apache.org/jira/browse/BCEL-170
The bug is about signature for a method with generics in signature. In this
case we may extract this signature from method attributes so the we will be
able to call Type.getArgumentTypes on this signature that leads to
ClassFormatException.
I'am not sure what behaviour right exactly. But for now it looks like Type is
only represents class name and generics couldn't be stored in so I have patch
to avoid exception and make it work.
See patch in attachment with fix + tests
--
Kind regards
Sergey Mashkov
Re: BCEL-170 Type.getArgumentTypes() throws ClassFormatException
Posted by Sergey Mashkov <co...@sergey-mashkov.net>.
Done
Thank you for response. Hope somebody will integrate my patch to trunk.
> Hello Sergey,
>
> thanks for your interest in BCEL! Can you please upload your patch to JIRA
> issue BCEL-170? That will grant the ASF the intellectual property of the
> code so that we can add it to the code base. People will generally not
> download any files that have been posted to the ML.
>
> TIA!
> Benedikt
>
> Am 28.06.2013 um 20:08 schrieb Sergey Mashkov <co...@sergey-mashkov.net>:
> > Hi all
> >
> > I'am about BCEL bug https://issues.apache.org/jira/browse/BCEL-170
> >
> > The bug is about signature for a method with generics in signature. In
> > this
> > case we may extract this signature from method attributes so the we will
> > be
> > able to call Type.getArgumentTypes on this signature that leads to
> > ClassFormatException.
> >
> > I'am not sure what behaviour right exactly. But for now it looks like Type
> > is only represents class name and generics couldn't be stored in so I
> > have patch to avoid exception and make it work.
> >
> > See patch in attachment with fix + tests
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
--
Kind regards
Sergey Mashkov
Re: BCEL-170 Type.getArgumentTypes() throws ClassFormatException
Posted by Benedikt Ritter <be...@gmail.com>.
Hello Sergey,
thanks for your interest in BCEL! Can you please upload your patch to JIRA issue BCEL-170? That will grant the ASF the intellectual property of the code so that we can add it to the code base. People will generally not download any files that have been posted to the ML.
TIA!
Benedikt
Am 28.06.2013 um 20:08 schrieb Sergey Mashkov <co...@sergey-mashkov.net>:
> Hi all
>
> I'am about BCEL bug https://issues.apache.org/jira/browse/BCEL-170
>
> The bug is about signature for a method with generics in signature. In this
> case we may extract this signature from method attributes so the we will be
> able to call Type.getArgumentTypes on this signature that leads to
> ClassFormatException.
>
> I'am not sure what behaviour right exactly. But for now it looks like Type is
> only represents class name and generics couldn't be stored in so I have patch
> to avoid exception and make it work.
>
> See patch in attachment with fix + tests
>
> --
> Kind regards
> Sergey Mashkov<BCEL-170_Type_getArgumentTypes()_throws_ClassFormatException.patch>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org