Removed use of sun.reflect.Reflection.getCallerClass(2), and replaced with sun.reflect.Reflection.getCallerClass(), as it's 2 by default. This solves the need for the -Djdk.reflect.allowGetCallerClass property.