Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

backwards compability  RSS feed

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wonder if "Java 1.5 Tiger: A Developer's Notebook" will tranquilize me as to my previous code doesnt go vladaboum when i upgrade to version 5.

On the other hand, is thid book oriented to limited java connaiseurs?
thanks in advance
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's not hard enough to serve as a reliable source of anesthetics when you hit someone with it I'm afraid

Unless you've done something weird your code should work fine under the Tiger.
There may be a few exceptions with strange but legal constructs using the ternary operator of method overloading but that's about all I can come up with quickly.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you just run your old code, tiger shouldn't be a problem.

If you recompile it, there might be problems, if you used 'enum' in your code.
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If you recompile it, there might be problems, if you used 'enum' in your code.


This will only be a problem if you recompile with -source 1.5, otherwise, it will be fine.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!