Java SE 7 (July 07, 2011)
Java SE 7 (July 07, 2011)
Java 7 (codename Dolphin[56]) is a major update to Java that was launched on July 7, 2011[57] and was made available for developers on July 28, 2011.[58] The development period was organized into thirteen milestones; on February 18, 2011, milestone 13 (the last milestone) was reached.[59][60] On average, 8 builds (which generally included enhancements and bug fixes) were released per milestone. The feature list at the OpenJDK 7 project lists many of the feature changes.
Feature additions for Java 7 include:[61]
- JVM support for dynamic languages, following the prototyping work currently done on the Multi Language Virtual Machine
- Compressed 64-bit pointers[62] Available in Java 6 with -XX:+UseCompressedOops
- Small language changes (grouped under a project named Coin)[63]:
- Strings in switch[64]
- Automatic resource management in try-statement[65]
- Improved type inference for generic instance creation[66]
- Simplified varargs method declaration[67]
- Binary integer literals[68]
- Allowing underscores in numeric literals[69]
- Catching multiple exception types and rethrowing exceptions with improved type checking[70]
- Concurrency utilities under JSR 166[71]
- New file I/O library to enhance platform independence and add support for metadata and symbolic links. The new packages are java.nio.file and java.nio.file.attribute[72][73]
- Library-level support for Elliptic curve cryptography algorithms
- An XRender pipeline for Java 2D, which improves handling of features specific to modern GPUs
- New platform APIs for the graphics features originally planned for release in Java version 6u10
- Enhanced library-level support for new network protocols, including SCTP and Sockets Direct Protocol
- Upstream updates to XML and Unicode
Lambda (Java's implementation of lambda functions), Jigsaw (Java's implementation of modules), and part of Coin were dropped from Java 7. Java 8 will be released with the remaining features in summer 2013.[
Comments
Post a Comment