Fix the call to newInstace
Test on multiple JDK