public static void messWithClassLoader() {
ContextFactory.initGlobal(new ContextFactory() {
@Override
protected Context makeContext() {
Context cx = super.makeContext();
cx.setWrapFactory(new WrapFactory() {
@Override
public Object wrap(Context cx, Scriptable scope, Object obj, Class staticType) {
return super.wrap(cx, scope, obj, staticType);
}
@Override