DEV Community


Discussion on: Java 15 in 2020: Reasons to *not* use Java?

odrotbohm profile image
Oliver Drotbohm

There's discussion on the mailing lists to let the bean inspection APIs return proper BeanInfo instances for records, too. I.e. .name() would still constitute a "name" property with a ready method of name(). That should make existing libraries work with records OOTB.

gochev profile image
Nayden Gochev

That will be GREAT if it happens, because to patch ALL libraries is a disaster especially with the Java EE to Jakarta EE and JSTL impl or JSF being part of the web container in some cases.. it becomes a huge mess.

I still like get more btw... it's better to be consistent even not great, then inconsistent.