File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes backwards compability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "backwards compability" Watch "backwards compability" New topic

backwards compability

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
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

java amateur
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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

Joined: Jun 02, 2003
Posts: 1923

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

Joined: Sep 24, 2003
Posts: 1608

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.

Tony Morris
Java Q&A (FAQ, Trivia)
I agree. Here's the link:
subject: backwards compability
jQuery in Action, 3rd edition