This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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 Version compatibility


NightStrike writes:
 > On 11/1/07, David Daney <ddaney@avtrex.com> wrote:
 > > NightStrike wrote:
 > > > On 11/1/07, David Daney <ddaney@avtrex.com> wrote:
 > > >> Andrew Haley wrote:
 > > >>> NightStrike writes:
 > > >>>  > What version of Java is the latest release of GCJ compatible with?
 > > >>>  > For instance, Java 1.5 adds enumeration support.  Does gcj support
 > > >>>  > Java 1.5?
 > > >>>
 > > >>> It is intended to be compatible with that version of the Java
 > > >>> specification, yes.  However it hasn't officially been tested for Java
 > > >>> 1.5 compatiblity.
 > > >>>
 > > >> This is only true if you consider the 'latest release' to be the
 > > >> currently unreleased 4.3.
 > > >>
 > > >> The 1.5 features are available starting in the as yet unreleased version
 > > >> 4.3.
 > > >
 > > > Do you happen to know, then, what the java compatibility is with GCC
 > > > 4.2.2, the current stable release?
 > >
 > > More or less 1.4.
 > >
 > > With GCJ, you really have to try it and see if it will work for your
 > > specific requirements.  It is not tested with any compatibility
 > > testsuite, so we don't certify that it fully implements anything.
 > 
 > Will you do that in the future?  There are defined java
 > specifications, like with any other language.  I would expect some
 > sort of ability to say that "Version X meets the specifications for
 > Java Y."

We try to do that, but it's really difficult because in some cases the
specifcation is too vague to be certain.  The compatibility test
suites are proprietary, and we've never been able to use them for gcj.

Andrew.


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