Mistake in API comparison?

Michael Koch konqueror@gmx.de
Wed Apr 30 16:12:00 GMT 2003


-----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-----



More information about the Java mailing list