就在我們猜測JDK 7的A計劃和B計劃如何實施的時候,JDK 7開發小組爆出消息:上周JDK 7的B計劃提交到Oracle ,該計劃目前已經得到批准。官方的JDK 7 Features page已經更新。
B計劃:JDK 7(無Lambda,Jigsaw和部分Coin)——2011年年中發布;JDK 8 (Lambda,Jigsaw和Coin剩下的部分)——2012年下半年發布。
下面是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大會也會提供一些相應的信息。