proguard icon indicating copy to clipboard operation
proguard copied to clipboard

failed to verify byte-buddy

Open dogourd opened this issue 2 years ago • 1 comments

[proguard] java.lang.IllegalArgumentException: Stack size becomes negative after instruction [285] invokeinterface #137, 768 = InterfaceMethodref(java/util/Map.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) in [com/dogourd/thirdparty/net/bytebuddy/agent/builder/LambdaFactory.register(Ljava/lang/instrument/ClassFileTransformer;Ljava/lang/Object;)Z]

You can always reproduce the issue with the example below, it's worth mentioning that it seems to be normal for byte-buddy versions lower than 1.12.8

demo.zip

dogourd avatar Oct 03 '22 00:10 dogourd

After I removed the -target:version option, the packaging ended normally. But um why is that?

dogourd avatar Oct 03 '22 01:10 dogourd