Checked exceptions: Java’s biggest mistake

Checked exceptions have always been a controversial feature of the Java language. Read more

Similar

Java Enums to Be Enhanced with Sharper Type Support

Java enums will be enhanced with generics support and with the ability to add methods to individual items, a new JEP shows. Since both features can be delivered with the same code change, they are bundled together in the same JEP. The change only affects ...

Read more »

Data Classes and Sealed Types for Java

This document explores possible directions for data classes and sealed types in the Java Language, and is an update to Data Classes in Java. This is an exploratory document only and does not constitute a plan for any specific feature in any specific versi... (more…)

Read more »