Ignore the above comment. I added a test to ByteBuddyBasicProxyFactoryTest to demonstrate the issue and fix.