RE: [picocontainer-dev] nanocontainer-persistence and compilation on multiple JDK's
Jörg Schaible <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael,
________________________________
From: Michael Rimov
Sent: Friday, December 22, 2006 9:59 AM
Subject: Re: [picocontainer-dev] nanocontainer-persistence and compilation on multiple JDK's
Jörg Schaible wrote:
Hi Michael,
Michael Rimov wrote on Thursday, December 21, 2006 10:39 PM:
I know this has been dealt with on other lists, I just can't find the
information.
JDK 1.6 includes many extra functions to java.sql.Connection. Because
of this, NanoContainer-Persistence's Failover connection
doesn't compile.
Since the new methods also require JDK 1.6 only data types, the only
real way I see that this can work is provide a JDK 1.6 source
version??
Are there better ways at getting this going?
Am I right, that you say, that JDK 6 can no longer compiles the code working for JDK 1.4?
Correct, JDK 1.6 is my default compiler, and because of the API differences, compiling with, say, JDK 1.4 flags appears to be insufficient to get it to compile under 1.6.
I guess I'll set up a batch file that sets a new JAVA_HOME before calling nano-persistence's compilation.
Thanks for the reply!
-Mike
________________________________
Sorry, that I have to ask again to clear this: Does the code compile with JDK 1.4 and not longer with JDK 6?
Nevertheless, all our code is working with JDK 1.4 and I am really -1 about any code that needs JDK 6/5 exclusively. Currently anything in nanocompiler must be compilable with JDK 1.4. If it is not compilable with JDK 6 we must find a way to satisfy both JDKs, but JDK 1.4 is still the minimal denominator. Therefore I also asked on the nanowar issue with the JSF support.
- Jörg
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email