This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Mistake in API comparison?
- From: Michael Koch <konqueror at gmx dot de>
- To: Jerry Quinn <jlquinn at optonline dot net>, java at gcc dot gnu dot org
- Date: Wed, 30 Apr 2003 18:02:07 +0200
- Subject: Re: Mistake in API comparison?
- References: <E19Ajuz-0006ii-00@localhost>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 30. April 2003 07:14 schrieb Jerry Quinn:
> I was looking at the API comparison between jdk1.4 and gcj and
> found a possible problem with the api comparing tools.
>
> On the comparison page, it shows 5 functions in
> java.awt.geom.AffineTransform being bad:
>
> java.awt.geom
> Bad: 5 methods.
> Bad
>
> * method java.awt.geom.AffineTransform.getType(): throws
> java.awt.geom.NoninvertibleTransformException in jdk14, but doesn't
> throw java.awt.geom.NoninvertibleTransformException in libgcj *
> method java.awt.geom.AffineTransform.setToRotation(double, double,
> double): throws java.awt.geom.NoninvertibleTransformException in
> jdk14, but doesn't throw
> java.awt.geom.NoninvertibleTransformException in libgcj * method
> java.awt.geom.AffineTransform.setToScale(double, double): throws
> java.awt.geom.NoninvertibleTransformException in jdk14, but doesn't
> throw java.awt.geom.NoninvertibleTransformException in libgcj *
> method java.awt.geom.AffineTransform.setTransform(double, double,
> double, double, double, double): throws
> java.lang.ClassNotFoundException in jdk14, but doesn't throw
> java.lang.ClassNotFoundException in libgcj * method
> java.awt.geom.AffineTransform.setTransform(double, double, double,
> double, double, double): throws java.io.IOException in jdk14, but
> doesn't throw java.io.IOException in libgcj
>
>
>
> However, according to the on-line docs for java 1.4.1, none of
> these functions is listed as throwing any of these exceptions.
Yes, this is a bug in japitools or the jdk14.japi.gz (or both).
Unfortunately the author has not the time to fix his bugs. I already
tried to find the bug but failed.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+r/N/WSOgCCdjSDsRAlngAJ9s+vWMWCMM0NGa8WUsHwk8l6fWUgCfR4pd
G7MvwA/m8UqEUqmb6XL/f/c=
=y8zR
-----END PGP SIGNATURE-----