JDK 1.6 和 1.7 中的新功能
我非常了解 JDK 1.5。众所周知,除了新的 API(例如 AtomicInteger)之外,还有一些重大的语言更改,例如提供对泛型的支持、添加枚举、提供自动装箱和自动拆箱等。
我想找到一些资源,最好对 JDK 1.6 和 1.7 中的新功能进行简短描述(对于大新功能,我更喜欢阅读完整的解释)。就 API 的变化而言,只有重大变化是可以接受的,并且对新的变化进行简短的审查(例如,如果我记得写有一种从控制台读取字符的新方法)。就功能而言,我想找到完整列表(例如,对象分配的这种变化,现在JVM实际上可以在堆栈上创建对象以用于优化目的,但我不知道详细信息)。
对于 JDK 1.6 核心 Java 技术功能 和 Java™ SE 6 与 J2SE 5.0 的兼容性。对于 JDK 1.7 使用 Java SE 7 异常更改,但它是不完整的列表。
I know JDK 1.5 pretty well. As we all know, besides new API (such as AtomicInteger, for example), there were major language changes such as providing support for generic, adding enum, prividing auto-boxing and auto-unboxing and so on.
I want to find some resources that have preferably short description of new features in JDK 1.6 and 1.7 (for big new features I prefer to read complete explanations). As far changes of API only major changes is acceptable and short review of new one (if I recall write there is new way to read characters from the console, for example). As far as features goes I want to find complete list (such changes in the allocation of the objects, now JVM can actually creates objects on the stack for optimization purposes, for example, but I don't know the details).
For JDK 1.6
Core Java Technology Features and Java™ SE 6 compatibility with J2SE 5.0. For JDK 1.7 Working with Java SE 7 Exception Changes, but it is incomplete list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
JDK 1.6
兼容性 http://www.oracle.com/technetwork/java/javase /compatibility-137541.html
核心 Java 技术特性 http://www.oracle.com/technetwork/articles/java/ javase6-build39-139826.html
http://java.sun.com/developer/technicalArticles/J2SE/ Desktop/JavaSE6_build39.html
Java SE 6 性能白皮书 http://www.oracle.com/technetwork/java/6-performance- 137236.html
快速说明,java.util.ArrayList 的实现已更改(由于错误 6260652)。
JDK 1.7
Java SE 7 和 JDK 7 兼容性 http://www.oracle .com/technetwork/java/javase/compatibility-417013.html(存在一些行为不兼容性)。
Java SE 7 功能和增强功能 http://www.oracle。 com/technetwork/java/javase/jdk7-relnotes-418459.html
Java 7 的新功能一览 http://radar.oreilly.com/2011/09/java7-features.html< /a> (另请参见 http://docs。 oracle.com/javase/7/docs/technotes/guides/language/type-inference-generic-instance-creation.html 用于钻石运算符)
(杂项)JDK 7:新接口,类、枚举和方法 http: //marxsoftware.blogspot.com/2011/03/jdk-7-new-interfaces-classes-enums-and.html
JDK 1.6
Compatibility http://www.oracle.com/technetwork/java/javase/compatibility-137541.html
Core Java Technology Features http://www.oracle.com/technetwork/articles/java/javase6-build39-139826.html
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/JavaSE6_build39.html
Java SE 6 Performance White Paper http://www.oracle.com/technetwork/java/6-performance-137236.html
Quick note, implementation of the java.util.ArrayList was changed (due to bug 6260652).
JDK 1.7
Java SE 7 and JDK 7 Compatibility http://www.oracle.com/technetwork/java/javase/compatibility-417013.html (there are some behavioral incompatibilities).
Java SE 7 Features and Enhancements http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html
A look at Java 7's new features http://radar.oreilly.com/2011/09/java7-features.html (see also http://docs.oracle.com/javase/7/docs/technotes/guides/language/type-inference-generic-instance-creation.html for diamond operator)
(Misc) JDK 7: New Interfaces, Classes, Enums, and Methods http://marxsoftware.blogspot.com/2011/03/jdk-7-new-interfaces-classes-enums-and.html
1.6 更改: http://www.oracle.com/technetwork/java/ javase/features-141434.html
1.7 更改:http://openjdk.java.net/projects/jdk7/features/(语言增强:http://openjdk.java.net/projects/coin/)
1.6 changes: http://www.oracle.com/technetwork/java/javase/features-141434.html
1.7 changes: http://openjdk.java.net/projects/jdk7/features/ (Language enhancements: http://openjdk.java.net/projects/coin/)
Java 编程语言增强
Java SE 7 中的增强
Java SE 6 中的增强
Java SE 6 中没有引入任何语言更改。
Java Programming Language Enhancements
Enhancements in Java SE 7
Enhancements in Java SE 6
No language changes were introduced in Java SE 6.