8016218: Warnings building corba repo due to missing hashCode methods

Mike Duigou mike.duigou at oracle.com
Mon Jun 10 19:04:47 UTC 2013


- Could just call Objects.hashCode(ior);


- Could also call Objects.hashCode(delegate) as it extends nothing the super.equals(delegate) is calling Object.equals


On Jun 10 2013, at 04:11 , Alan Bateman wrote:

> The warnings from the build of the corba repository on missing hashCode methods have been annoying me for some time. I was hoping they would annoy others too but looks like I blinked first :-)
> Here's the webrev with the changes that I'd like to push to fix the issues:
> http://cr.openjdk.java.net/~alanb/8016218/webrev/
> Note that there are 3 real issues but they are obvious. I'm running the CORBA tests to make sure that it doesn't break anything. Note that the bulk of the warnings were coming from ParserTable but they turn out not to be interesting because they are only used in the testing framework.
> -Alan.

More information about the core-libs-dev mailing list