RR(S): 8011038 sourceObj validation during desereliazation of RelationNotification should be relaxed

Dmitry Samersoff dmitry.samersoff at oracle.com
Tue Jul 2 10:52:34 PDT 2013


Hi Everybody,

*problem*

Despite the fact, that validation in constructor of RelationNotification
prohibit creation of the class instance with null sourceObj its possible
to set it to null later by public setSource() method. So we should relax
validation rules to preserve serialization behavior compatibility.

*webrev*

http://cr.openjdk.java.net/~dsamersoff/8011038/webrev.01/

*testing*

JCK, no separate regression tests required.

-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list