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: GCJ and DK compliance stats?


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


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