cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22842] - flow: importPackage/importClass problems creating InitialContext()
Date Sun, 23 May 2004 10:50:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22842>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22842

flow: importPackage/importClass problems creating InitialContext()





------- Additional Comments From agallardo@agsoftware.dnsalias.com  2004-05-23 10:50 -------
Just in case, I also tested using "Packages...." inside the importPackage(). It
worlks too. Here is the test:

*************** TESTING importPackage()*********************
$ java -cp rhino1.5r4-continuations-20040228.jar
org.mozilla.javascript.tools.shell.Main
Rhino 1.5 release 4 0000 00 00 (in progress)
js> importPackage(Packages.org.mozilla.javascript)
js>
js> cx = Context.enter()
org.mozilla.javascript.Context@8a0d5d
js> cx.evaluateString(this, "3+2", null, 0, null)
5.0
js> quit()
$

Mime
View raw message