自Java11起,Oracle JDK将不再免费提供商业用途。
Java11是Java8后的第一个LTS版本,我们对OpenJDK的特性列表做一些分析。
简介
以下是Java11的特性清单:
- 181: Nest-Based Access Control(基于嵌套的访问控制)
- 309: Dynamic Class-File Constants(动态的类文件常量)
- 315: Improve Aarch64 Intrinsics(优化Aarch64内在函数)
- 318: Epsilon: A No-Op Garbage Collector(一个无操作垃圾收集器)
- 320: Remove the Java EE and CORBA Modules(移除Java EE和CORBA模块)
- 321: HTTP Client (Standard) (HTTP Client API)
- 323: Local-Variable Syntax for Lambda Parameters (lambda参数的局部变量语法)
- 324: Key Agreement with Curve25519 and Curve448
- 327: Unicode 10 (对unicode10的支持)
- 328: Flight Recorder(飞行记录器)
- 329: ChaCha20 and Poly1305 Cryptographic Algorithms
- 330: Launch Single-File Source-Code Programs (运行单文件程序)
- 331: Low-Overhead Heap Profiling
- 332: Transport Layer Security (TLS) 1.3
- 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
- 335: Deprecate the Nashorn JavaScript Engine (弃用Nashron)
- 336: Deprecate the Pack200 Tools and API
提出问题:
- 那些是日常会用到的?重点是?
代码及完整文件地址:
https://github.com/teaho2015-blog/java11-feature-learning