wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Is JDK6.0 can support all the java code worked in JDK1.3 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is JDK6.0 can support all the java code worked in JDK1.3 ?" Watch "Is JDK6.0 can support all the java code worked in JDK1.3 ?" New topic
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
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: 42035
    
  64
Generally, though, Java is backwards compatible - any code written and/or compiled using an earlier JDK will work on later JREs.


Ping & DNS - my free Android networking tools app
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

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 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: Is JDK6.0 can support all the java code worked in JDK1.3 ?