> has anybody ever tried
> 
>   javac -target 1.4 -bootclasspath ${JAVA14_HOME}/lib/rt.jar
> 
> on commons net 2.0?

I just did a quick check, and it looks like this question was
silly (sorry). Apparently, using java -target 1.4 also requires
java -source 1.4 which would fail due to all the Generics and
Annotations in the code.

It does seem, though, that any adopter of Commons Net 2.0 could
use Retroweaver to change the Commons Net bytecode into something
that an 1.4 JVM can understand -- and it should work quite fine 
since it looks like the usage of "enum" in examples/TftpServer.java
is the only real dependency on an 1.5-only class ("Enum" which is
emulated by Retroweaver):
http://retroweaver.sourceforge.net/

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
> 
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>  
>  
> 
> > -----Original Message-----
> > From: Rory Winston [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, September 18, 2008 8:53 AM
> > To: Jakarta Commons Developers List
> > Subject: [net] 2.0 Release Ready For Review
> > 
> > Hi all
> > 
> > The RC for net-2.0 is available for review at:
> > 
> > http://people.apache.org/~rwinston/commons-net-2.0
> > 
> > Changes are here:
> > 
> > http://people.apache.org/~rwinston/commons-net-2.0/site/change
> > s-report.html#a2.0
> > 
> > Can someone take a look at the RC and see if there are any 
> issues? If 
> > not, I'll set up a  release vote.
> > 
> > Thanks
> > Rory
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to