However, implementation of some Java SE 8 features required changes that could cause code that compiled with Java SE 7 to fail to compile with Java SE 8. In general, the source compatibility policy is to avoid introducing source code incompatibilities. If these are used in a source file, that source file cannot be compiled on an earlier version of the Java platform. Java SE 8 includes new language features and platform APIs. Class files built with the Java SE 8 compiler will not run on earlier releases of Java SE. Except for the noted incompatibilities, class files built with the Java SE 7 compiler will run correctly in Java SE 8. Java SE 8 is binary-compatible with Java SE 7 except for the incompatibilities listed below. Incompatibilities in J2SE 5.0 (since 1.4.2).To examine Java SE 8 incompatibilities with earlier Java versions, you must trace incompatibilities through the listed files, in order. For example, this compatibility page reports only Java SE 8 incompatibilities with Java SE 7, and not with previous versions. The following compatibility documents track incompatibility between adjacent Java versions. "Incompatibilities between JDK 8 and JDK 7"."Incompatibilities between Java SE 8 and Java SE 7".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |