ClassLoaderAdapterCallback now more intelligently determines when to swap proxy ClassLoaders