[ sisc-Bugs-891614 ] ArrayIndexOutOfBoundsException in JavaObject.apply

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #891614, was opened at 2004-02-05 23:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=891614&group_id=23735

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ilya Perminov (iperminov)
Assigned to: Nobody/Anonymous (nobody)
Summary: ArrayIndexOutOfBoundsException in JavaObject.apply

Initial Comment:
JavaObject.apply acesses args[0] without checking that 
args is not empty:
protected static final Value apply(Object obj, Value[]
args) 
        throws InvocationTargetException {

        if (!(args[0] instanceof Symbol)) {
  ........

Scheme test: 
(import s2j) 
((->jint 10))


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=891614&group_id=23735


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
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.