Mistake in API comparison?

Jerry Quinn jlquinn@optonline.net
Wed Apr 30 15:32:00 GMT 2003


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.
Jerry Quinn


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /