Implement the delegating ClassLoader in Java as a first step of allowing it to be used in other build systems