Message4874

Author cgroves
Recipients cgroves, thijs
Date 2009-07-02.22:04:22
SpamBayes Score 0.00013459555
Marked as misclassified No
Message-id <1246572263.63.0.386856699833.issue1393@psf.upfronthosting.co.za>
In-reply-to
Content
This is a bad error message from Jython.  If you'll look at 
http://djproject.sourceforge.net/ns/documentation/javadoc/chrriis/dj/nat
iveswing/swtimpl/components/JFlashPlayer.html, JFlashPlayer takes vararg 
NSOptions in its constructor.  Jython can't tell the difference between 
varargs and an array in a constructor, so it's expecting you to pass an 
array in there.  I believe if you call JFlashPlayer([]), this will work 
in Jython.

I'm going to leave this open so I'll remember to improve the error 
handling on constructors and around varargs.
History
Date User Action Args
2009-07-02 22:04:23cgrovessetmessageid: <1246572263.63.0.386856699833.issue1393@psf.upfronthosting.co.za>
2009-07-02 22:04:23cgrovessetrecipients: + cgroves, thijs
2009-07-02 22:04:23cgroveslinkissue1393 messages
2009-07-02 22:04:23cgrovescreate