Dangers of Choosing the Wrong Class Loader July 25, 2018 This code uses the class loader that loads the current class and getClass() could return something unexpected, like a subclass, or a dynamic proxy. This is hardly ever what you