Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-891614 ] ArrayIndexOutOfBoundsException in JavaObject.apply: msg#00002

Subject: [ sisc-Bugs-891614 ] ArrayIndexOutOfBoundsException in JavaObject.apply
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


<Prev in Thread] Current Thread [Next in Thread>