commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oberhuber, Martin" <Martin.Oberhu...@windriver.com>
Subject RE: [net] 2.0 Release Ready For Review
Date Mon, 22 Sep 2008 14:23:53 GMT
> 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:rory.winston@gmail.com] 
> > 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: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message