jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius" <dbros...@qis.net>
Subject Re: Problem with LocalVariableTypeTable ( java 5.0 )
Date Mon, 14 Feb 2005 01:01:01 GMT
From: "Marco Petris" <Marco.Petris@web.de>


> Hi all,
>
> I have a problem with the LocalVariableTypeTable.
> I'v inserted some instructions into a method which has a generic 
> parameter:
> public void doSomething( double d, ArrayList<Integer> list ) {
> ...
> }
>
> Loading the class, I get following ClassFormatError:
> LVTT entry for 'list' in class file MyClassFile does not match any LVT 
> entry
>
> Looks like the start_pc and length of the local variable 'list' in the 
> LocalVariableTable are adjusted
> after inserting some instructions but the entry in the 
> LocalVariableTypeTable has still the old start_pc and length.
>
> Is there a way to manipulate the LocalVariableTable or force a rewrite of 
> its entries?
>
> When I do not use generics, everything works fine:
> public void doSomething( double d, ArrayList list ) {
> ...
> }

Can you post a simple example of the problem to BugZilla?

http://issues.apache.org/bugzilla/enter_bug.cgi




---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org


Mime
View raw message