Re: Proper ClassLoader with ClassShutter

2016-03-21 Thread Tony Zakula
Thanks Sundar. I am not having any issues currently, all seems to be working great. We just added the ClassFilter so I had to change the constructor from: engine = new NashornScriptEngineFactory().getScriptEngine(new String[]{"-ccs=1000", "-ot=true", "-pcc=true"}); TO engine = new NashornScrip

Re: Proper ClassLoader with ClassShutter

2016-03-21 Thread Sundararajan Athijegannathan
By default Nashorn uses the thread context loader - which is usually ClassLoader.getSystemClassLoader() [ which is the launcher loader ]. So, your API call looks fine. What is the specific issue, if any, you've in mind? Thanks -Sundar On 3/20/2016 10:45 PM, Tony Zakula wrote: > Hey All, > > I a