Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] JDOM not using raw typing

Victor Toni

2007-03-28

Replies:

Hielke Hoeve wrote:
> On 28/03/07, Endre St?lsvik <jdom@(protected):
>> Jason Hunter wrote:
>> Also, one could use org.jdom2 as package name for the 1.5 version,
>> although obviously utterly loosing compatibility between code coded
>> against v1 and other code coded against v2 - but I think even this could
>> be handled using a simple "converter" between a v1 DOM and a v2 DOM, or
>> the other way.
>
Have you tried one of these?
I guess not because they won't work.
> javac -source=1.5 -target=1.3
> javac -source=1.5 -target=1.4
>
The only option left is the undocumented -target jsr14 which is not
recommended.


One point which wasn't mentioned but seems more important to me the the
EOL of Java 1.4 with the Release of Java 7:

http://java.sun.com/products/archive/eol.policy.html

"... The Java technology policy is to support the current shipping
version of Java Standard Edition plus two back versions. ..."

Means at the time when Java 7 gets released only version 6 and version 5
will be supported opening the door for upgrades to generics on a wider
front.

I guess this policy will lead to more upgrades (by customers) than the
technology enhancements alone.


Victor Toni

Attachment: victor.toni.vcf
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.