Re: ThreadGroup.enumerate/activeCount - any good reason not to deprecate?

2020-06-03 Thread David Holmes
Hi Alan, I've always thought ThreadGroups were a good idea that were never communicated very well. The notion of a ThreadGroup as a security context potentially had some value that was never truly realized. On 4/06/2020 4:40 am, Alan Bateman wrote: On 03/06/2020 18:47, Paul Sandoz wrote:

Re: ThreadGroup.enumerate/activeCount - any good reason not to deprecate?

2020-06-03 Thread Alan Bateman
On 03/06/2020 18:47, Paul Sandoz wrote: It’s tempting to go all out and investigate the deprecation of (not for removal) ThreadGroup in its entirety, and also deprecate the Thread constructors accepting ThreadGroup, related methods in SecurityManager, etc. I suspect that’s probably more work

Re: ThreadGroup.enumerate/activeCount - any good reason not to deprecate?

2020-06-03 Thread Paul Sandoz
It’s tempting to go all out and investigate the deprecation of (not for removal) ThreadGroup in its entirety, and also deprecate the Thread constructors accepting ThreadGroup, related methods in SecurityManager, etc. I suspect that’s probably more work than you want to take on right now, and

ThreadGroup.enumerate/activeCount - any good reason not to deprecate?

2020-06-03 Thread Alan Bateman
Does ThreadGroup have any fans out there? I'm looking to deprecate its enumerate, activeXXXCount, and list methods. Also Thread.enumerate and activeCount. I'm trying to identify if there are any important usages of these APIs that would suggest they shouldn't be deprecated. A static