The most important is not to change your compiler settings from 1.4 to the RSA 7.5 default which I believe is 1.5.
In case you compile your source code with higher version of Java and deploy it in a Container which runs on a lower version you are going to have trouble.
Generally it is safe to run and test your legacy app on a higher WAS version but keep your eyes on the compiler settings as I mentioned.