Java近期新闻:JDK 18发版计划、Spring Data 2021_1_0、苹果开源GCGC

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18更新、Loom 18-loom+4-273构建版、Spring Framework和Spring Data单点版本、Quarkus 2.4.2.Final、Hibernate Reactive 1.1.0.Final、Piranha 21.11.0、Groovy 4.0.0-beta-2、Apache Camel Quarkus 2.4.0.Final、Neo4J Migration 1.0.0、苹果公司开源GCGC、Gluon发布17.0.2-ea+2和18-ea+6版本。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"JDK 18"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18尝鲜构建版本"},{"type":"link","attrs":{"href":"https:\/\/github.com\/openjdk\/jdk\/releases\/tag\/jdk-18%2B23","title":null,"type":null},"content":[{"type":"text","text":"Build 23"}]},{"type":"text","text":"可用,相比Build 22,这次的主要更新包括对各种问题的修复。更多细节可参看版本"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/18\/release-notes","title":null,"type":null},"content":[{"type":"text","text":"公告"}]},{"type":"text","text":"。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18目前的特性集合如下:"}]},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 400:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/400","title":null,"type":null},"content":[{"type":"text","text":"默认字符集为UTF-8"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 408:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/408","title":null,"type":null},"content":[{"type":"text","text":"Simple Web Server"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 413:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/413","title":null,"type":null},"content":[{"type":"text","text":"Java API文档中加入了代码片段"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 416:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/416","title":null,"type":null},"content":[{"type":"text","text":"通过方法句柄重新实现代码反射"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 417:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/417","title":null,"type":null},"content":[{"type":"text","text":"Vector API(第三个孵化器)"}]},{"type":"text","text":";"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 418:"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/418","title":null,"type":null},"content":[{"type":"text","text":"网路地址解析SPI"}]},{"type":"text","text":"。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 18发版计划宣布如下:"}]},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Rampdown第一阶段(从主干分叉):2021年12月9号;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Rampdown第二阶段:2022年1月20号;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"初始候选版本:2022年2月10号;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最终候选班恩:20221年2月24号;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"普遍可用:2022年3月22号。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"开发者可以通过"},{"type":"link","attrs":{"href":"https:\/\/bugreport.java.com\/bugreport\/","title":null,"type":null},"content":[{"type":"text","text":"Java Bug Database"}]},{"type":"text","text":"提交bug。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Loom项目"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Loom"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/loom","title":null,"type":null},"content":[{"type":"text","text":"早期尝鲜"}]},{"type":"text","text":"18-loom+4-273构建版可用,该版本基于JDK 18早期尝鲜版Build 22构建。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Spring Framework"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Framework 5.3.13已发布,包含16个问题修复和改进:引入TypeFilterUtils类,提供了一组可与@ComponentScan注解类型过滤器一起使用的工具;改进了ExtendedEntityManagerCreator类的createProxy()方法的映射功能;只在没有通过Quartz属性指定存储的情况下使用LocalDataSourceJobStore。更多细节可在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-framework\/releases\/tag\/v5.3.13","title":null,"type":null},"content":[{"type":"text","text":"版本公告"}]},{"type":"text","text":"中找到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Data 2021.1.0已发布:依赖项Querydsl更新到5.0、Redis更新到6.2;弃用对RxJava 2的支持;支持jMolecules @Indentity注解;为Querydsl新增了一个流式查询API。更多细节可以在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/spring-projects\/spring-data-commons\/wiki\/Release-Train-2021.1-%28Q%29-Release-Notes","title":null,"type":null},"content":[{"type":"text","text":"版本公告"}]},{"type":"text","text":"中找到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Spring Data 2021.0.7和2020.0.15分别修复了一些问题,并升级了依赖项。这两个版本都是基于Spring Framework 5.3.13构建,即将发布的Spring Boot 2.5.7可能会用到该版本。它们是Spring Data 2021.0.x系列的最终更新版本。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Quarkus"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Quarkus 2.4.2.Final是一个维护性版本,包含一些问题修复和改进:修复了基于表单的认证和LDAP、依赖项RESTEasy和SmallRye JWT分别升级到4.7.3和3.3.1、修复了一个ClassNotFoundException异常(在将REST客户端注入到原生应用程序时出现该异常)。更多细节可以在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/quarkusio\/quarkus\/releases\/tag\/2.4.2.Final","title":null,"type":null},"content":[{"type":"text","text":"变更日志"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Hibernate"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Hibernate Reactive 1.1.0.Final发布,包含了Vert.x 4.2的最新特性。更多细节可以在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/hibernate\/hibernate-reactive\/milestone\/15?closed=1","title":null,"type":null},"content":[{"type":"text","text":"问题清单"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Piranha"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Piranha 21.11.0已发布,该版本的内容包括:Servlet TCK问题修复;与Eleos(Jakarta认证规范的一个实现,基于Oracle Jaspic Provider框架)最新版本集成;增加新接口PiranhaFeature;为开发者提供ServerPiranhaBuilder类,方便他们实例化ServerPiranha类。更多细节可以在官方"},{"type":"link","attrs":{"href":"https:\/\/javadoc.io\/doc\/cloud.piranha\/project\/latest\/index.html","title":null,"type":null},"content":[{"type":"text","text":"文档"}]},{"type":"text","text":"和问"},{"type":"link","attrs":{"href":"https:\/\/github.com\/piranhacloud\/piranha\/milestone\/35?closed=1","title":null,"type":null},"content":[{"type":"text","text":"题跟踪器"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Groovy"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Object Computing公司的首席软件工程师Paul King宣布Groovy 4.0的第二个Beta版本可用。Groovy 4.0.0-beta-2包含100多个问题修复,支持switch表达式、记录类和Groovy集成查询(GINQ,一个具有类SQL语法的Groovy查询DSL)。更多细节可以再"},{"type":"link","attrs":{"href":"http:\/\/groovy-lang.org\/changelogs\/changelog-4.0.0-beta-2.html","title":null,"type":null},"content":[{"type":"text","text":"变更日志"}]},{"type":"text","text":"中找到。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Apache Camel"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Apache发布Camel 3.13.0,包含119项特性、依赖项更新、改进和问题修复。更多细节可以在"},{"type":"link","attrs":{"href":"https:\/\/camel.apache.org\/releases\/release-3.13.0","title":null,"type":null},"content":[{"type":"text","text":"版本公告"}]},{"type":"text","text":"中找到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"为了与Quarkus同步,Camel Quarkus发布2.4.0版本,对应Quarkus 2.4.0.Final和Apache Camel 3.12.0,改进了测试覆盖率和文档。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Neo4J"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/github.com\/michael-simons\/neo4j-migrations","title":null,"type":null},"content":[{"type":"text","text":"Neo4J Migration"}]},{"type":"text","text":"发布1.0.0版本,一个用于迁移基于Neo4J的Java应用程序的工具,特性包含:支持Neo4J的用户模拟、修复了一些问题、依赖项升级、文档改进。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"苹果开源GCGC"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"苹果开源垃圾回收图收集器(Garbage Collection Graph Collector,"},{"type":"link","attrs":{"href":"https:\/\/github.com\/apple\/GCGC","title":null,"type":null},"content":[{"type":"text","text":"GCGC"}]},{"type":"text","text":"),一个用于分析GC日志文件的Python工具,可以分析延迟、并发和“停顿”事件、堆信息、分配速率和事件频率。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Gluon"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Gluon发布17.0.2-ea+2和18-ea+6版本,修复了在MacOS 12(Monterey)上存在的一些问题。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"查看英文原文"},{"type":"text","text":":"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/www.infoq.com\/news\/2021\/11\/java-news-roundup-nov08-2021","title":null,"type":null},"content":[{"type":"text","text":"Java News Roundup: JDK 18 Release Schedule, Spring Data 2021.1.0, Apple Open-Sources GCGC"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章