Re: JDOM not using raw typing
"Mary Ellen Foster" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
On 28/03/07, Hielke Hoeve <[email protected]> wrote: > On 28/03/07, Victor Toni <[email protected]> wrote: > > 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 > > No, haven't tried. I assumed it as being a "from the top the head" > example rather than a copy/past & works example, I think this is where RetroWeaver comes in (http://retroweaver.sourceforge.net/): you compile your 1.5 jar file and then process it to remove the 1.5-isms so that 1.4 JVMs can load it. I'm not advocating that JDOM do this, though. I personally -- as a user, not a developer -- think the best course would be (1) get a 1.01 out in the short term (to fix long-standing bugs like the empty-namespace issue with Xalan) and then to create a 2.0 that uses generics. (I'd be willing to help with the latter effort ...) In practice, how many projects *are* there out there that are still using 1.4? Has anyone ever actually measured what the actual impact would be of moving to generics would be? MEF -- Mary Ellen Foster http://homepages.inf.ed.ac.uk/mef/ _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]