就在我们猜测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
◆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大会也会提供一些相应的信息。