Compatibility with Java Value-based Classes
- Dominant language
- Java
- Stars
- 10.6k
- Forks
- 1.2k
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 13
Description
Maybe this has been asked/requested/discussed already (I did not find anything regarding that), but has there already been thought put into making AutoValue generated classes compatible with the requirements of [Value-based Classes](https://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html)? The work regarding that on OpenJDK seems to make quite some progress (that is at least what I get from following the mailing list) so there seems to be quite a possibility that actual support might land in a future version of Java. It would be great, if there was a possibility to create AutoValue classes that benefited from also being Value-based.
Edit: it looks like using the AutoValue.Builder based approach might already be (somewhat; usage of object identity in equals) compatible?
Contributor guide
Assessment
This issue has not been assessed yet.