From 9b1972b6fd547572cff22fdf581e1b2e6029a2e1 Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Thu, 25 May 2017 18:00:09 +0100 Subject: [PATCH] Compatibility with Javassist 3.18.1 (#389) --- core/src/main/java/org/dozer/util/DefaultProxyResolver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/dozer/util/DefaultProxyResolver.java b/core/src/main/java/org/dozer/util/DefaultProxyResolver.java index aba6ecf53..1df27d97f 100644 --- a/core/src/main/java/org/dozer/util/DefaultProxyResolver.java +++ b/core/src/main/java/org/dozer/util/DefaultProxyResolver.java @@ -32,7 +32,8 @@ public boolean isProxy(Class clazz) { String className = clazz.getName(); return className.contains(DozerConstants.CGLIB_ID) || className.startsWith(DozerConstants.JAVASSIST_PACKAGE) - || className.contains(DozerConstants.JAVASSIST_SYMBOL); + || className.contains(DozerConstants.JAVASSIST_SYMBOL) + || className.contains(DozerConstants.JAVASSIST_SYMBOL_2); } @Override