@Override
    protected Class findClass(String name) throws ClassNotFoundException {
        synchronized (fileManager) {
            Output output = fileManager.map.remove(name);
            if (output != null) {
                byte[] array = output.toByteArray();
                return defineClass(name, array, 0, array.length);
            }
        }
        return super.findClass(name);
    }