You Must Avoid Final Field Mutation - Inside Java Newscast #110

https://vk.com/javatutorial https://max.ru/javalib https://t.me/javalib With JDK 26 / JEP 500 starting to prevent final field mutation through reflection, it is important that Java projects stop employing that practice. Whether it is for dependency injection, serialization, cloning, or general hackery, alternatives need to be explored. JEP 500: https://openjdk.org/jeps/500 ~~~ Chapters ~~~~~ 0:00 Intro 1:00 Final Field Mutation 1:57 Platform Serialization 3:08 Serialization 6:39 Dependency Injection 7:14 Cloning 8:26 Embracing Constructors

Иконка канала Java
582 подписчика
12+
9 просмотров
7 дней назад
12+
9 просмотров
7 дней назад

https://vk.com/javatutorial https://max.ru/javalib https://t.me/javalib With JDK 26 / JEP 500 starting to prevent final field mutation through reflection, it is important that Java projects stop employing that practice. Whether it is for dependency injection, serialization, cloning, or general hackery, alternatives need to be explored. JEP 500: https://openjdk.org/jeps/500 ~~~ Chapters ~~~~~ 0:00 Intro 1:00 Final Field Mutation 1:57 Platform Serialization 3:08 Serialization 6:39 Dependency Injection 7:14 Cloning 8:26 Embracing Constructors

, чтобы оставлять комментарии