beanshell2.0: Bug with generation of code for long parameter of method
peter reilly <[email protected]>
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Organization | corvil |
| Message-ID | <[email protected]> |
Hi,
While playing with beanshell 2.0, I noticed the following bug:
a beanshell class as following:
public class y {
public void sety(long y) {
}
}
generates invalid byte code:
java.lang.VerifyError: (class: y, method: sety signature: (J)V) Register 1
contains wrong type
Replacing long y with any other primitive or Object (including Long) generates
correct code.
Peter
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/