I have a distributed JBoss-based application that shows a buggy behavior when compiled and run with Java 1.6. It shows an another bug when compiled with Java 1.5 and run with Java 1.6. But it works fine when compiled and run with Java 1.5. What is the best approach to debug this application? Is there a lint for Java 1.5 to 1.6 conversion?
Of course the behavior also depends on the third-party libraries I am using. I am using JBoss 4.0.3 (and several other libraries too!), which I understand is a quite old version. Before I move on to upgrade the JBoss version, I want to make sure that the issue is not related to my code.