Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is JDK6.0 can support all the java code worked in JDK1.3 ?

 
Jack Lau
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could anyone tell me is JDK6.0 can support all the java code worked in JDK1.3 ?

Thanks,
Jack
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any Swing code written in 1.3 might have problems in 1.6 - the focus subsystem changed about 1.4
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, though, Java is backwards compatible - any code written and/or compiled using an earlier JDK will work on later JREs.
 
Rob Spoor
Sheriff
Pie
Posts: 20550
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic