rastislavpapp commented on code in PR #9359: URL: https://github.com/apache/camel/pull/9359#discussion_r1108173292
########## components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java: ########## @@ -63,7 +63,9 @@ public class BeanInfo { private static final Logger LOG = LoggerFactory.getLogger(BeanInfo.class); private static final String CGLIB_CLASS_SEPARATOR = "$$"; private static final String CGLIB_METHOD_MARKER = "CGLIB$"; + private static final String BYTE_BUDDY_CLASS_SEPARATOR = "$ByteBuddy$"; private static final String BYTE_BUDDY_METHOD_MARKER = "$accessor$"; + private static final String ARIES_PROXY_CLASS_PREFIX = "Proxy"; Review Comment: The class name of aries-proxy class is created as: ``` className = "Proxy" + AbstractWovenProxyAdapter.getSanitizedUUIDString(); ``` So it would be possible to create a regex for it, if we wanted to be more precise. But the class name is created in default java package, so it should be pretty resistant to real world user classes. At least that was how I thought about it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org