No, actually I dont.
But - maybe you know that you can compile (1.4 and 1.5) your source
with parameters
'src' and 'target', where src is the Java source version and target is
the target supported Java version.
In your case:
compile the source (in java 1.5) to target 1.4 or src and target both
for 1.4, then the
compiler ought to give you info on what to change.
In Eclipse (and others?) editor you can compile in runtime, which makes
the job easier.
It is not automatically writing your code, but the job gets done.
Good luck
Peter
__________________________________________________________
> In your case:
> compile the source (in java 1.5) to target 1.4 or src and target both
> for 1.4, then the
> compiler ought to give you info on what to change.
-source 1.5 -target 1.4 will not work.
>>I don't suppose anyone knows of a tool that can convert from 1.5 to 1.4
>>code?
>>Seems a strange request, but I have case tools that only work with 1.4.
I think Roedy was hinting at Retroweaver (for class files). I tried it
sometime ago and seems to work quite well.
Tom Hawtin

Signature
Unemployed English Java programmer
http://jroller.com/page/tackline/
Roedy Green - 07 Nov 2005 15:39 GMT
On Mon, 07 Nov 2005 15:28:55 +0000, Thomas Hawtin
<usenet@tackline.plus.com> wrote, quoted or indirectly quoted someone
who said :
>I think Roedy was hinting at Retroweaver (for class files). I tried it
>sometime ago and seems to work quite well.
thanks. that is what I was trying to think of. see
http://mindprod.com/jgloss/retroweaver.html
I have added links to it from the javac.exe and jdk entries so I hope
I can find it again when the name slips again.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.