jdk18 ga

2022-03-22 22:50:22 +08:00
 yazinnnn

https://mail.openjdk.java.net/pipermail/jdk-dev/2022-March/006458.html

https://jdk.java.net/18

Features

400: UTF-8 by Default

408: Simple Web Server

413: Code Snippets in Java API Documentation

416: Reimplement Core Reflection with Method Handles

417: Vector API (Third Incubator)

418: Internet-Address Resolution SPI

419: Foreign Function & Memory API (Second Incubator)

420: Pattern Matching for switch (Second Preview)

421: Deprecate Finalization for Removal

2337 次点击
所在节点    Java
8 条回复
Cbdy
2022-03-23 08:23:54 +08:00
好!
MakHoCheung
2022-03-23 09:12:57 +08:00
期待 19
huang119412
2022-03-23 09:22:34 +08:00
java 越来越好了
aguesuka
2022-03-23 09:29:55 +08:00
We expect that, in the future, general classes will be able to declare deconstruction patterns to specify how they can be matched against.
未来可能会有解构
cubecube
2022-03-23 10:14:43 +08:00
@aguesuka 说这个是因为他们要把 finalize 方法废弃掉了。。
yazinnnn
2022-03-23 11:29:05 +08:00
@cubecube
你说的大概不是一回事?

jep 这个解构是类似于 rust 模式匹配中的解构(deconstruction),而不是析构函数(destructor)
sorakylin
2022-03-23 13:09:43 +08:00
公司反正不会变, 自个业余做项目的话,我已经上 Kotlin 了……
INCerry
2022-03-23 21:34:45 +08:00
.Neter:??????

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/842214

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX