A
au714
I have a JDK 1.5 code base (a few hundred files) that is auto-generated
and uses 1.5 language features, mostly generics as far as I know. I
want to compile this and run on a 1.4.2 JVM.
I have done some reading here and am proceeding by
Compiling the code with a 1.5 javac with -target jsr14
I have run the generated class files on a 1.4.2 JVM with no initial
problems.
Does this seem like a reasonable approach? Are there any hidden
"gotchas" that might come up at runtime?
Note that I also must ensure that there are no 1.5 specific objects or
methods in my code base.
FGB
and uses 1.5 language features, mostly generics as far as I know. I
want to compile this and run on a 1.4.2 JVM.
I have done some reading here and am proceeding by
Compiling the code with a 1.5 javac with -target jsr14
I have run the generated class files on a 1.4.2 JVM with no initial
problems.
Does this seem like a reasonable approach? Are there any hidden
"gotchas" that might come up at runtime?
Note that I also must ensure that there are no 1.5 specific objects or
methods in my code base.
FGB