Re: Updating subject while service is deployed

Bob Scheifler <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
> I wouldn't call them synchronized sets as many operations are not
> synchronized and rely on AbstractSet.

Oh, I forgot you're still dawdling back in JDK 1.4. ;-)  In JDK 5 they've
been changed to Collections.synchronizedSet instances.

> Given the fact Subject doesn't
> provide any hints with regard to synchronization I'm not feeling
> comfortable with modifying the Subject

Agreed, although IIRC we negotiated the means of synchronizing wrt
Subject mutation during JERI development.

> But I'll just filed a bug against
> Java SE as I'm of the opinion Subject is underspecified with regard to
> concurrency and can already result in CMEs with the current Sun JRE.

Good, thanks.

- Bob

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.