From fe20c4be55273bdccb6a15b9b0152b0f4261e464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E9=93=81?= Date: Mon, 9 May 2016 05:01:47 +0800 Subject: [PATCH] bug fixed for multi-version different classloader error. for issue 616. https://github.com/alibaba/fastjson/issues/616 --- .../com/alibaba/fastjson/serializer/ASMSerializerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alibaba/fastjson/serializer/ASMSerializerFactory.java b/src/main/java/com/alibaba/fastjson/serializer/ASMSerializerFactory.java index db2a1e7d25..325b097069 100755 --- a/src/main/java/com/alibaba/fastjson/serializer/ASMSerializerFactory.java +++ b/src/main/java/com/alibaba/fastjson/serializer/ASMSerializerFactory.java @@ -33,7 +33,7 @@ public class ASMSerializerFactory implements Opcodes { - protected final ASMClassLoader classLoader = new ASMClassLoader(); + protected final ASMClassLoader classLoader = new ASMClassLoader(ASMSerializerFactory.class.getClassLoader()); private final AtomicLong seed = new AtomicLong();