You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by bu...@apache.org on 2007/04/02 00:11:30 UTC
DO NOT REPLY [Bug 42015] New: - Verifier fails in pass 2 with "Number of LocalVariableTable attributes of Code attribute" on static methods.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42015>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42015
Summary: Verifier fails in pass 2 with "Number of
LocalVariableTable attributes of Code attribute" on
static methods.
Product: BCEL
Version: 5.2
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: bcel-dev@jakarta.apache.org
ReportedBy: erik@jpox.org
Result
Pass 2:
Number of LocalVariableTable attributes of Code attribute '<CODE>' (method
'public static String getSS9()') exceeds number of local variable slots '0'
('There may be no more than one LocalVariableTable attribute per local variable
in the Code attribute.').
Test code:
public class Test
{
String ss4;
static String ss6;
static String ss9;
public String getSS()
{
return getSS1();
}
public String getSS1()
{
return (String)getSS2();
}
public Object getSS2()
{
return getSS3();
}
public String getSS3()
{
return "";
}
public String getSS4()
{
return ss4;
}
public String getSS5()
{
String ss5 = "";
return ss5;
}
public String getSS6()
{
return ss6;
}
public Test getSS7()
{
return this;
}
public int getSS8()
{
return 1;
}
public static String getSS9()
{
if( true )
{
return ss6;
}
return ss9;
}
public String[] getSS10()
{
String[] ss10 = new String[1];
ss10[0] = "";
return ss10;
}
}
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 42015] - Verifier fails in pass 2 with "Number of LocalVariableTable attributes of Code attribute" on static methods.
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42015>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42015
tcurdt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tcurdt@apache.org 2007-04-06 10:44 -------
Thanks! Applied!
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 42015] - Verifier fails in pass 2 with "Number of LocalVariableTable attributes of Code attribute" on static methods.
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42015>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42015
------- Additional Comments From erik@jpox.org 2007-04-01 15:13 -------
Created an attachment (id=19864)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19864&action=view)
patch that ignores "There may be no more than one LocalVariableTable attribute
per local variable in the Code attribute" on static methods
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org