Change to a new version of JDK?

I want to change the JDK version 1.5.15 to 1.6.29. If I do, will there be any problems in an existing application that was developed in JDK 1.5.15?

+5
source share
5 answers

Technically, this should not be a problem. But I would have a bad feeling doing this without enough test coverage. My company had a project that was also changing to a new version of java (don’t remember which one). Everything seems to be in order, but after a while a few errors came up. It turned out that one developer illegally relied on the order of the Collection class. The error was caused by a modified implementation.

+3
source

JDK (1.6.9), . - JDK 1.5 1.6, .

0

You will have to test this. You can probably compile and run the application using JDK1.6, but some behavior can be tweaked in a subtle way. An example of such a change between JDK1.6 and JDK1.7, I recently encountered which, placed fooobar.com/questions/306187 / ... . Although the project was made just fine, testing (unit tests, integration tests and manual testing) revealed some problems that were not detected by the compiler

0
source

No, I do not think that this will create any problem.

0
source

All Articles