Author
Is JDK6.0 can support all the java code worked in JDK1.3 ?
Jack Lau
Ranch Hand
Joined: Aug 30, 2002
Posts: 166
Hi,
Could anyone tell me is JDK6.0 can support all the java code worked in JDK1.3 ?
Thanks,
Jack
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted Jun 21, 2010 22:42:02
0
any Swing code written in 1.3 might have problems in 1.6 - the focus subsystem changed about 1.4
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
posted Jun 22, 2010 00:20:25
0
Generally, though, Java is backwards compatible - any code written and/or compiled using an earlier JDK will work on later JREs.
Android apps – ImageJ plugins – Java web charts
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
Although the behaviour may be slightly different, like the example Michael mentioned. Any workaround for a bug in Java 1.3 may now actually do something you don't want it to do.
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
subject: Is JDK6.0 can support all the java code worked in JDK1.3 ?