Is the java 1.4 projects compatible with Java 7?
any known issue from anybody.
In my case, when I use a class which was compiled using 1.4 (javap -verbose, major version:48) with Java6 it works fine.
But the same class with Java 7 code resulting in null pointer
any ideas appreciated
Thanks
Previously Sun, and now Oracle, have always been extremely careful to keep Java upwards compatible, which means that Java programs written for and compiled on older versions should work without modification on newer versions of Java (with minor exceptions).
However, it is possible for people to write programs that aren’t compatible – for example if your program directly uses classes in a
sun.*orcom.sun.*package, it is possible that it will not work anymore on a newer version of Java (or on a JVM implementation other than Oracle’s).Java SE 7 and JDK 7 Compatibility contains details on the compatibility of Java 7 with older releases.
Without any more specific information about your program, it’s impossible to tell you exactly why it doesn’t work properly on Java 7.