Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions core/src/main/java/org/jruby/RubyInstanceConfig.java
Original file line number Diff line number Diff line change
@@ -1407,13 +1407,7 @@ public void setProfilingService( String service ) {
}

private static ClassLoader setupLoader() {
final ClassLoader thisLoader = RubyInstanceConfig.class.getClassLoader();

if (thisLoader == null) {
return null;
} else {
return Thread.currentThread().getContextClassLoader();
}
return RubyInstanceConfig.class.getClassLoader();
}

////////////////////////////////////////////////////////////////////////////

0 comments on commit 46e1058

Please sign in to comment.