Автор: Tim Lindholm, Frank Yellin, Gilad Bracha
Название: The Java Virtual Machine Specification, Java SE 8 Edition
Издательство: Addison-Wesley Professional
Год: 2014
ISBN: 013390590X
Серия: Java (Addison-Wesley)
Язык: English
Формат: epub
Размер: 28,4 mb
Страниц: 600
The Java SE 8 Edition of The Java Virtual Machine Specification incorporates all the changes that have been made to the Java Virtual Machine since the Java SE 7 Edition in 2011. In addition, numerous corrections and clarifications have been made to align with popular implementations of the Java Virtual Machine.
Notable changes to the Java programming language in Java SE 8 have brought corresponding changes to the Java Virtual Machine. To maximize binary compatibility, it has been desirable to specify default methods directly in the Java Virtual Machine, rather than relying on compiler magic that might not be portable across vendors or product releases, and is certainly not applicable to pre-existing class files. In the context of JSR 335, Lambda Expressions for the Java Programming Language, Dan Smith at Oracle consulted with implementers to determine how best to integrate default methods into the constant pool and method structures, the method and interface method resolution algorithms, and the bytecode instruction set. JSR 335 also introduced private and static methods in interfaces at the class file level; they too have been carefully integrated with interface method resolution.