It has been thirteen years between the initial public release of Java 1.0 (1996) and the current stable release 1.6.0_16 (2009).
During those thirteen years the following notable releases have been made:
- JDK 1.0 (January, 1996)
- JDK 1.1 (February, 1997)
- J2SE 1.2 (December, 1998)
- J2SE 1.3 (May, 2000)
- J2SE 1.4 (February, 2002)
- J2SE 5.0 (September, 2004)
- Java SE 6 (December, 2006)
I'm looking for specific examples of backwards incompatibilities during the history of the Java platform.
Question:
- In the thirteen year history of the Java platform, is there any examples of Java backwards incompatibility where Java source code/Java class files targeting Java version X won't compile/run under version Y (where Y > X)?
House rules:
- Please include references and code examples where possible.
- Please try to be very specific/concrete in your answer.
- A class that is being marked as @Deprecated does not count as a backwards incompatibility.