jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanson Char" <hanson_c...@yahoo.com>
Subject RE: xml config prototype
Date Fri, 23 Apr 2004 14:46:11 GMT
>Sadly the currently 1.5beta release does not allow generics to be compiled
to earlier jdk versions.

The above statement is actually not true.  Just found out (from IntelliJIDEA
4.0) in jdk1.5 beta there is an "unofficial" compiler option (ie not
documented in Sun's jdk) that will generate bytecode from source using
generics that can be run in a jdk1.4 JVM:

eg, using jdk1.5 beta compiler:

	javac -source 1.5 -target jsr14 TestGenerics.java

Cheers,
Hanson


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org


Mime
View raw message