Java Weekly, Issue 440 – Java周刊,第440期

最后修改: 2022年 6月 2日

中文/混合/英文(键盘快捷键:t)

1. Spring and Java

1.Spring和Java

>> Testing Clean Cleaner Cleanup [inside.java]

>> 测试清洁器清理 [inside.java]

A practical guide on how to test whether the Cleaner functions are actually cleaning up resources encapsulated by heap objects.

关于如何测试Cleaner 函数是否实际清理了由堆对象封装的资源的实用指南。

>> JEP proposed to target JDK 19: 428: Structured Concurrency (Incubator) [openjdk.java.net]

>>JEP建议针对JDK19:428:结构化并发(孵化器) [openjdk.java.net]

Interesting. Structured concurrency in Java 19 – easy cancellation and shutdown strategies applied to scope and concurrent code that looks sequential.

有趣的是。Java 19中的结构化并发–简单的取消和关闭策略应用于看起来有顺序的范围和并发的代码。

>> Kotlin 1.7.0 Beta Enables Definitely Non-nullable Types [infoq.com]

>> Kotlin 1.7.0 Beta启用了明确的非空值类型 [infoq.com]

Definitely non-nullable types, named capturing groups for regex, builder interface, and a lot more in a new beta release for Kotlin.

在Kotlin的新测试版中,肯定有不可归零的类型,为regex命名的捕获组,构建者接口,以及更多

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical & Musings

2.技术& 思考

>> When Web Testing Becomes a Breeze [blog.jetbrains.com]

>> 当网络测试变得轻而易举 [blog.jetbrains.com]

Explore writing hassle-free tests for web projects using Intellij Idea, Selenium, and the Test Data Plugin.

探索如何使用Intellij Idea、Selenium和测试数据插件为网络项目编写无障碍测试

>> Kubernetes 1.24: Maximum Unavailable Replicas for StatefulSet [kubernetes.io]

>> Kubernetes 1.24: Maximum Unavailable Replicas for StatefulSet [kubernetes.io]

New alpha flag feature in K8S 1.24 that enhances the rolling update of stateful sets using the new maxUnavailable configuration.

K8S 1.24中的新alpha标志功能,增强了使用新maxUnavailable配置的有状态集的滚动更新。

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Wally Runs Drug Trial [dilbert.com]

>> Wally Runs Drug Trial [dilbert.com]

>> Look Ethical [dilbert.com]

>> Look Ethical [dilbert.com]

>> Boss Hates Everyone [dilbert.com]

>>老板讨厌所有人 [dilbert.com]

4. Pick of the Week

4.本周精选

A classic for a good reason:

一个经典的理由是很好的。

>> 1,000 True Fans [kk.org]

>> 1,000名真爱粉[kk.org]

Next »

Java Weekly, Issue 441

« Previous

Java Weekly, Issue 439