Comment #1 on issue 821 by 1nv151b13.b0b: support for calling java
functions through Packages would be very awesome.
http://code.google.com/p/v8/issues/detail?id=821
dang. acidentally pressed enter instead of tab...
in firefox and rhino, you have access to the java API through a global
object called Packages.
this allows you to do things like make windows through swing or use java's
drawing functions.
you can replicate it with:
window.javax = Packages.javax;
my version is 5.0.375.125 (Official Build 53311).
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev