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]

Mistake in API comparison?


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


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