This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mistake in API comparison?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]