Skip to content

Commit 7573e1b

Browse files
committed
For #279 avoid java.lang.VerifyError
1 parent fab8d00 commit 7573e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/nginx/clojure/wave/JavaAgent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static byte[] instrumentClass(MethodDatabase db, String className, byte[] data,
224224

225225
if (!db.isEnableNativeCoroutine() || (db.isEnableNativeCoroutine() && db.inClassesOrPackages(className))) {
226226
ClassReader r = new ClassReader(data);
227-
ClassWriter cw = db.isEnableNativeCoroutine() ? new ClassWriter(r, 0) : new DBClassWriter(db, r);
227+
ClassWriter cw = new DBClassWriter(db, r);
228228
ClassVisitor cv = check ? new CheckClassAdapter(cw) : cw;
229229
ClassEntry ce = MethodDatabaseUtil.buildClassEntryFamily(db, r);
230230

0 commit comments

Comments
 (0)