Java 5-compiled binaries in Java 1.3

Can I find out if there are any problems using Java 5-compiled code (with Java 1.3 source / target support) on the Java 1.3 JVM?

I know this is rather strange, but most of our clients are in Java 5, but we are limited to some of them in Java 1.3 due to conditions beyond our control. Our CI tool uses the Java 5 compiler, but we have mapped the source and target mappings of Java 1.3 for backward compatibility. We do not use Java 1.3 for CI, because there are unit tests that do not compile on 1.3.

Would this be a problem?

Thank you in advance!

Cheers, - Paul

+3
source share
2 answers

. 1.3 , -bootclasspath, 1.3 rt.jar. , 1.3 JRE, 1.3 SDK/. , a -target of 1.3.

+3

, , , , JVM- 1.3, JDK, , - Java 5. , , , Java 5, 1.3 JDK. , 1.3.

+3

All Articles