Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#10 java.lang.VerifyError during generation

open
Artur Hefczyc
5
2002-07-18
2002-07-18
Anonymous
No

I am using the following in Ant:

<target name="genTests">
<!-- <jar jarfile="jar/${jarfile}.jar"
basedir="${build}">
<exclude name="** /*TestCase*.*"/>
<exclude name="TestAll.*"/>
</jar> //-->
<unitgen update="true" classpath="${build};${libs}"
input="${src}" output="${test-src}"/>
</target>

I did not want to create a jar file since I don't use
it for anything else.

So unitgen starts running but then throws:

java.lang.VerifyError: (class:
com/everwhere/idiomatica/words/pronoun/Pronoun, method:
setupPronoun signature:
(II)Lcom/everwhere/idiomatica/words/pronoun/Pronoun;)
Wrong return type in function
java.lang.VerifyError: (class:
com/everwhere/idiomatica/words/pronoun/Pronoun, method:
setupPronoun signature:
(II)Lcom/everwhere/idiomatica/words/pronoun/Pronoun;)
Wrong return type in function

twice for some reason....

Now Pronoun compiles fine and works fine - so any ideas
why this is happening?

Discussion