This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ and DK compliance stats?
- From: Tom Tromey <tromey at redhat dot com>
- To: burton at openprivacy dot org (Kevin A. Burton)
- Cc: java at gcc dot gnu dot org
- Date: 16 Nov 2001 19:29:15 -0700
- Subject: Re: GCJ and DK compliance stats?
- References: <87ofm9dke0.fsf@universe.yi.org>
- Reply-to: tromey at redhat dot com
>>>>> "Kevin" == Kevin A Burton <burton@openprivacy.org> writes:
Kevin> Are there any tools for comparing GCJ to the exiting JVMs?
There aren't any public ones that I'm aware of.
Kevin> It seems to me that it would be very easy and would only take
Kevin> me a few hours to write reports for this.
One question is the legality of it. But if you restrict yourself to
public and protected fields, methods, and classes in the java.* and
javax.* namespaces you'll probably be ok.
Another important point is to make sure it ignores certain things.
For instance it should ignore whether a given method is implemented in
class X or in X's superclass -- this difference is typically an
unimportant implementation detail. Also it should ignore when
unchecked exceptions are declared in a `throws' clause, as this is a
meaningless difference.
If you write such a tool, and have it generate HTML, I'd like to put
the results on the gcj web page. Eventually I'll have the Classpath
comparison done automatically; we could do the same for the JDK
comparison (but I think we would need a way to do this without
actually installing the various JDKs on gcc.gnu.org).
Kevin> This would give us some stats to post to the website so that
Kevin> others can understand how complaint GCJ is WRT other VMs.
With the exception of AWT, I believe we're actually pretty close to
1.2.
Tom