Patch: gcj interface initialization bug
Michael Koch
konqueror@gmx.de
Mon Mar 10 06:39:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 10. März 2003 07:20 schrieb Tom Tromey:
> This patch fixes a somewhat obscure class initialization bug.
> (Though it was discovered in actual application code.)
>
> gcj assumes that all the interfaces of a class are initialized if
> the class is initialized. However, this is not the case.
>
> The first part of this patch (in expr.c) fixes this assumption.
> The second part adds a bit of code to gcj to force a class
> initialization when we're referring to a field in an interface.
>
> New test included; before this patch the test will throw a
> NullPointerException.
Is this for the VerifierError I got with ant ?
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+bDNIWSOgCCdjSDsRAnH7AJ9KcYTM4sQio/Yd/VUgOB3LUEC5nQCePfqf
yDKNbWUr+CFw3Mjhxnn5WVQ=
=JKrj
-----END PGP SIGNATURE-----
More information about the Java-patches
mailing list