View Full Version : Quercus from QuercusScriptEngine
03-02-2010, 02:04 AM
how can i get the Quercus object from a QuercusScriptEngine object?
QuercusScriptEngine.getQuercus() should do it. QuercusContext has replaced the Quercus object in the latest 4.0 versions, but it's just a rename.
03-04-2010, 01:44 AM
I've downloaded the Quercus sources, and actually QuercusScriptEngine.getQuercus() is a package method.
Unfortunately it's not public as i expected, so i need to assign a "com.caucho.quercus.script" package for my caller class.
I'm working on Quercus 4.0.1 but it's the same on Quercus 4.0.3.
If there aren't technical issues about the getQuercus() scope, i would suggest to make it public.
Fixed for 4.0.5.
vBulletin® v3.8.6, Copyright ©2000-2017, Jelsoft Enterprises Ltd.