[jdom-interest] JDOM Beta 9 RC 2

Jason Hunter jhunter at servlets.com
Wed Apr 23 08:19:52 PDT 2003


In my testing the samples ran against JDK 1.2, but I'd like someone else
to confirm that.

-jh-

Stephan Trebels wrote:
> 
> My understanding is different:
> 
> The JDK 1.4 class file format will not by default be used by javac
> (1.4.1).  The default - as always - is to generate class files
> compatible to the last major rev, so it's 1.3 class files.  By default
> not even aserts will be recognized.
> 
> Stephan
> 
> On Wed, 2003-04-23 at 16:54, Gordon Tyler wrote:
> > John L. Webber - Jentro AG wrote:
> > > As far as the source code is concerned it probably doesn't matter, but
> > > anyone using the pre-built jars with a pre-1.4 VM will likely see an
> > > exception like this:
> > > java.lang.UnsupportedClassVersionError: Test (Unsupported major.minor
> > > version 48.0)
> > >
> > > I'm not sure if this will happen with an external library compiled under
> > > 1.4 but run pre-1.4. Does anyone have time to test that -- I have
> > > meetings this morning... ;-(
> >
> > JDK 1.4 introduced some changes in the class file format, upping the
> > class version, hence the exception. Pre-1.4 JVMs will not be able to use
> > classes compiled by the 1.4 compiler at all.
> >
> > Ciao,
> > Gordon
> --
>         Stephan Trebels <stephan at ncube.de>   Consultant
> company: nCUBE Deutschland GmbH, Hanauer Str. 56, 80992 Munich, Germany
> phone: cell:+49 172 8433111  office:+49 89 1498930  fax:+49 89 14989350
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list