directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Barrett" <>
Subject RE: [ApacheDS] Moving to JDK 5.0
Date Fri, 23 Sep 2005 16:08:07 GMT
Not in with my compiler from Sun.
C:\devel\workspace\java5>c:\java\jdk1.5.0_01\bin\javac -source 1.5
-target 1.4 src/java5/
javac: source release 1.5 requires target release 1.5
C:\devel\workspace\java5>c:\java\jdk1.5.0_01\bin\javac -source 1.4
-target 1.4 src/java5/
src/java5/ generics are not supported in -source 1.4
(try -source 1.5 to enable generics)
public class Test<T>
1 error


	From: Marc Boorshtein [] 
	Sent: Friday, September 23, 2005 8:45 AM
	To: Apache Directory Developers List
	Subject: Re: [ApacheDS] Moving to JDK 5.0
	Well, the language features are backwards compatible (generics &
enums).  I think the main problem is the class libraries.  Prior to 1.4
new labraries went first into the "javax" package first, so you could
use them in older JREs.  
	As to anyone using it in production, I'd be very doubtfull that
any commercial apps are shipping 1.5 (I know several that still require
	On 9/23/05, Jacob Barrett <> wrote: 

		While I agree that a move to 1.5 would be nice you have
to consider that
		not all platforms support 1.5 at the moment.  In
particular IBM z/OS
		which is a typical platform that my company tends to
deploy into.
		FreeBSD is only in the beta phase of producing a native
1.5, you can run
		the Linux version in emulation.  Also, most of the
application servers
		out there are still only 1.4, so limiting to 1.5 only
works in a
		"standalone" mode.
		If there is a way to take advantage of the language
constructs in 1.5
		but target 1.4 byte code then I would be all for it.
Retroweaver is
		interesting, but does it produce production stable byte
		Has anyone on here REALLY used it in a production

View raw message