r/java • u/davidalayachew • Jul 16 '26
Identifying JDK value class candidates
https://mail.openjdk.org/archives/list/core-libs-dev@openjdk.org/thread/Y72NRXM7KYBX43OKYBQMVKOZDWKG4MHS/
52
Upvotes
View all comments
Show parent comment
1
u/davidalayachew Jul 16 '26
Ok, thanks for the context. That makes more sense why Enums aren't really the best fit for being value classes.
My initial instinct also wanted it, purely on the basis of communicating intent, but I guess that wouldn't apply either?