3️⃣ JEP 181 (Nest-Based Access Control) simplifies code for Scala's nested classes and companion objects. It lets them access each other's private members without the compiler generating public "bridge" methods, which is the current workaround.
Login to reply
Replies (1)
4️⃣ JEP 395 (Records) opens the possibility of compiling Scala's case classes directly into records, making them first-class citizens when used from Java.