上週 JDK 7 的 B 計劃提交到 Oracle ,該計劃目前已經得到批准。官方的 JDK 7 Features page 已經更新。
下面是 JDK 7 新的特性列表,但是不是最終的我們並不能確認:
- JSR 292: Support for dynamically-typed languages (InvokeDynamic)
- Languages update of the project Coin
- Concurrency and collections updates (jsr166y)
- ionet JSR 203: More new I/O APIs for the Java platform (NIO.2)
- SCTP (Stream Control Transmission Protocol)
- SDP (Sockets Direct Protocol)
- Elliptic-curve cryptography (ECC)
- client XRender pipeline for Java 2D
- Create new platform APIs for 6u10 graphics features
- Nimbus look-and-feel for Swing
- Swing JLayer component
但是下面這些特性沒有下文了:
- TLS 1.2
- JDBC 4.1
- Unicode 6.0
- Locale enhancement
- Separate user locale and user-interface locale
- NIO.2 filesystem provider for zip/jar archives
- Use the Windows Vista IPv6 stack when available
從上述信息來看,有些特性被延遲到 JDK 8 了:
- JSR 294: Language and VM support for modular programming
- JSR 308: Annotations on Java types
- JSR TBD: Language support for collections [NEW]
- JSR TBD: Project Lambda
- Modularization (Project Jigsaw)
- JSR 296: Swing application framework
- Swing JDatePicker component
更詳細的信息你只能從 JDK 7 Features 來獲取了,當然本週的 JavaOne 大會也會提供一些相應的信息。