public static void switchContextLoader(ClassLoader loader) {
        try {
            if (loader != null && loader != Thread.currentThread().getContextClassLoader()) {
                Thread.currentThread().setContextClassLoader(loader);
            }
        } catch (SecurityException e) {
            // ignore , ForkJoinPool & jdk8 & securityManager will cause this
        }
    }
@Test
    void switchContextLoader() {
        ClassLoadUtil.switchContextLoader(Thread.currentThread().getContextClassLoader());
    }