Skip to content

Commit

Permalink
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -24,6 +24,14 @@
* This container also sets option classloader.delegate to false, i.e. the JRubyClassloader
* for each runtime will lookup classes first on itself before looking into the parent
* classloader.
*
* WARNING: this can give problems when joda-time is used inside the
* JRubyClassloader or with current version of nokogiri (1.6.7.2) as it uses
* (sun-)jdk classes which conflicts with classes nokogiri loaded into the
* JRubyClassloader.
*
* With any classloader related problem the first thing is to try
* <code>container.getProvider().getRubyInstanceConfig().setClassloaderDelegate(true);</code> to solve it.
*/
public class IsolatedScriptingContainer extends ScriptingContainer {

0 comments on commit f4a2944

Please sign in to comment.