Minor thing: `JavaClassLoader.loadClass sys s` can simply be `sys.loadClass s`.