On 2008.01.22., at 14:15, [EMAIL PROTECTED] wrote:

>> [rhino] cat test.js
>> function foo(param) {
>>  return (param || 0);}
>>
>> print(foo());
>> [rhino] java -jar build/rhino1_6R7/js.jar test.js
>> 0
>>
>> How about creating a bug with a test case and we can continue the
>> discussion on the bug so we don't make too much noise for others?
>> Create a bug here:https://bugzilla.mozilla.org/enter_bug.cgi?product=Rhino
>>
>> Thanks,
>> Norris
>
> Went to create the bug and found the fix for it -> 309957.  Apparently
> this (quite serious bug) was fixed in 1_6R1, but didn't make it into
> the Java6 cut.
>
> So how do I make sure that ANT is using the up-to-date library?

Try downloading the Rhino scripting adapter from <http://scripting.dev.java.net 
 >, then make sure both it and our Rhino distribution are on  
classpath. scripting.dev.java.net components are maintained by same  
people that work on JavaScript integration in Sun JRE, so they're as  
compatible with it as it gets.

>  And
> how do we get Sun to upgrade :)

I guess you should file a bug at <http://bugs.sun.com>.

Attila.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to