?
Solved

Any serious backward-compatibility problems with Java 5?

Posted on 2006-06-21
5
Medium Priority
?
239 Views
Last Modified: 2010-03-31
Dear Experts,

Are there any significant backward-compatibility problems going from Java 1.4 to Java 5?  

I'm not asking about problems with new features.  I just want to make sure my existing code will work as is.

Thanks,
BrianMc1958
0
Comment
Question by:BrianMc1958
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 400 total points
ID: 16954251
If you're running code compiled in 1.4 on 5, you should be OK.
0
 
LVL 14

Assisted Solution

by:hoomanv
hoomanv earned 400 total points
ID: 16954287
Compatibility with Previous Releases
http://java.sun.com/j2se/1.5.0/compatibility.html
0
 
LVL 24

Assisted Solution

by:sciuriware
sciuriware earned 200 total points
ID: 16954358
Never had a problem from 1.4.2_10 going to 5 (presently 1.5.0_07).
Only thing to mention is that deprecation of System.getenv() was undone: only an advantage.

;JOOP!
0
 

Author Comment

by:BrianMc1958
ID: 16954458
Very good.  Looks safe.  Thanks especially, hoomany, for the link.
--BrianMc1958
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16954509
:-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question