Episode 57 “Make Java Safer with Flexible Constructor Bodies”
Flexible constructor bodies were added to Java 25 with JEP 513. In this episode of the Inside Java Podcast Billy Korando will review the issues with how constructors used to work before Java 25, either forcing developers to write convoluted code, or in some cases undermining the safety and integrity of child classes. Billy will then cover how flexible constructor bodies address these issues and how Java developers can use them to write safer code and better designed applications.
JEP 513: Flexible Constructor Bodies - https://openjdk.org/jeps/513
Make sure to also check the Duke’s Corner podcast on dev.java.
Additional resources
- Inside.java : News and views from members of the Java team at Oracle
- Dev.java : The Destination for Java Developers
- OpenJDK
- Oracle Java
For more episodes, check out Inside Java, our YouTube playlist, and follow @Java on Twitter.
Contact us here.
