rmuir commented on PR #16931: URL: https://github.com/apache/lucene/pull/16931#issuecomment-6483189282
> Just an idea: Maybe add a test which calls `arena.hashCode()` and compares it to `System.identityHashCode()` as a quick assertion that nobody implements equals/has code. Can we not just enforce this with the compiler? implement them as `final`, even if implementation is trivial and just calls `super.hashCode()` or similar? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
