On Mon, 14 Jun 2010 21:43:06 +0200, Torsten Werner wrote: > Hi David,
Hello, > On Sat, Jun 12, 2010 at 12:49 AM, David Paleino <da...@debian.org> wrote: > > The problem is that DebuggingClassWriter.java tries to pass an integer to > > asm's ClassWriter, which expects a boolean instead. > > thanks for the analysis! May you provide a patch, please? Looking at the sources, it seems like my analysis was completely wrong. And I can't even remember how I came to that conclusion :) (I remember seeing a "bool" somewhere, but can't find it anymore.. :/) In fact, asm's ClassWriter has an init method accepting int: public ClassWriter(final int flags) { [..] } And also the documentation says it's there: http://asm.ow2.org/asm32/javadoc/user/org/objectweb/asm/ClassWriter.html So, I can't really say how to fix this. Maybe the "<init>(I)V" in the stacktrace helps? (not being a Javist, I could only infer that "I" means integer, but don't know what "V" means) The only difference I can see is in the class init methods. Compare the one above with: public class DebuggingClassWriter extends ClassWriter { public DebuggingClassWriter(int flags) { super(flags); } [..] } See, the only difference is the "final" keyword in ClassWriter. I don't know if this could be related to the bug. David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature