mirror of
https://github.com/alibaba/fastjson.git
synced 2026-10-28 13:50:47 +08:00
支持JSONCreator & Reference
git-svn-id: http://code.alibabatech.com/svn/fastjson/trunk/fastjson@1314 fb902949-7fc4-4485-a80f-4d6ff335c879
This commit is contained in:
@@ -81,9 +81,9 @@ public class ASMDeserializerFactory implements Opcodes {
|
||||
|
||||
byte[] code = cw.toByteArray();
|
||||
|
||||
org.apache.commons.io.IOUtils.write(code, new java.io.FileOutputStream(
|
||||
"/usr/alibaba/workspace/fastjson-asm/target/classes/"
|
||||
+ className + ".class"));
|
||||
// org.apache.commons.io.IOUtils.write(code, new java.io.FileOutputStream(
|
||||
// "/usr/alibaba/workspace/fastjson-asm/target/classes/"
|
||||
// + className + ".class"));
|
||||
|
||||
Class<?> exampleClass = classLoader.defineClassPublic(className, code, 0, code.length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user