@Override
    public Class<?> loadClass(String name) throws ClassNotFoundException {
        if (existsInTfsJar(name)) {
            return jarClassLoader.loadClass(name);
        }
        return super.loadClass(name);
    }
@Test
    public void canNotLoadClassWithResolveSpecifiedFromNested() {
        // No idea why this behaves this way - this is a "characterisation test" that follows the existing behaviour
        assertThatThrownBy(() -> nestedJarClassLoader.loadClass(JAR_CLASS, true))
                .isExactlyInstanceOf(ClassNotFoundException.class)
                .hasMessage(JAR_CLASS);
    }