From 80c8d27a5e3304a56912d11f40c3919b83b3207d Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Wed, 2 Jan 2019 17:29:27 +0400 Subject: [PATCH] Upd modules + node transformer fix. --- .../java/ru/gravit/launchserver/manangers/NodeTransformer.java | 2 +- modules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java index f90f0a1d..59dbd2b4 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java @@ -33,7 +33,7 @@ public byte[] transform(byte[] input, String classname, JARLauncherBinary data) ClassNode cn = new ClassNode(); cr.accept(cn, ClassReader.SKIP_DEBUG); for (ClassNodeTransformer tr : transLst) tr.transform(cn, classname, data); - ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_MAXS); + ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_FRAMES); cn.accept(cw); return cw.toByteArray(); } diff --git a/modules b/modules index 2a09f7b1..1f5199e4 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit 2a09f7b18dde4ea6841e6a141e7cfea8f93d3b29 +Subproject commit 1f5199e4dc6a582d49eea40bc080bb5c529817d6