VerifierError with gcc trunk and ant 1.5.2
Michael Koch
konqueror@gmx.de
Thu Mar 13 08:29:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 13. März 2003 02:42 schrieb Tom Tromey:
> >>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
>
> Michael> java.lang.VerifyError: verification failed at PC 584 in
> Michael>
> org.apache.tools.ant.taskdefs.Zip:getResourcesToAdd(([Lorg.apache.t
>ools.ant.types.FileSet;Ljava.io.File;Z)[[Lorg.apache.tools.ant.types
>.Resource;): Michael> incompatible type on stack
>
> Why don't these things fail at PC=3?
>
> I definitely don't have the time to trace through this code to find
> the problem.
>
> One thing to try would be to run the code through the JDK. If that
> works then it is a libgcj verifier bug. If it fails then it is a
> gcj code generation bug. At least, those are the most likely
> outcomes -- but the JDK verifier bugs are pretty obscure.
Compiled with JDK and executed with gij from trunk the same error
(with a different PC) occurs. Then its a verifier bug I think.
While testing I tried compiling with gcj and executing with JDK too.
This gave some errors too. So we have both, verifier and code
generation bugs. I will try to dig a little more into it.
> Michael> 584: invokestatic #513=<Method
> org.apache.tools.ant.util.ResourceUtils.selectOutOfDateSources
> (org.apache.tools.ant.ProjectComponent,org.apache.tools.ant.types.R
>esource[],org.apache.tools.ant.util.FileNameMapper,org.apache.tools.
>ant.types.ResourceFactory)org.apache.tools.ant.types.Resource[]>
>
> One guess would be that we're running into the known libgcj
> verifier bug, which has to do with handling interface types
> incorrectly. That's just a guess though.
If it is this "known bug" is there a patch I can test ?
> If you could submit a PR, that would be great. If you can debug or
> reduce it to a manageable test case, that would be even better.
I will try to create testcases. I will submit PRs when I have
testcases.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+cC2jWSOgCCdjSDsRAmh6AJwMOD1LQJaqHJLpuNnaySX3b7RG0ACeJhrI
p/ITuFRn63KLPgnLC01gaGU=
=PeWO
-----END PGP SIGNATURE-----
More information about the Java
mailing list