code review request : 7091388:Regular unexplained npe's from corba libs after system has been running for days

Seán Coffey sean.coffey at oracle.com
Mon Nov 7 11:42:12 UTC 2011


currently not live on bugs.sun.com but hope to get it up there shortly :
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7091388

I'm porting fix for 7091388 forward to JDK8 (and then 7u)

This is a fix in the CDRInputStream_1_0.close()/ 
CDROutputStream_1_0.close() methods where shared buffers may be 
incorrectly closed out if the System.identityHashCode method incorrectly 
identify two buffers as being equal.

Fix is to use the "==" operator to test if buffers are equal instead of 
System.identityHashCode

http://cr.openjdk.java.net/~coffeys/webrev.7091388.jdk8/

Regards,
Sean.



More information about the core-libs-dev mailing list