Skip to content

Commit

Permalink
Fixes #989, #990. TrapExit jvm-independent and awt handling is only d…
Browse files Browse the repository at this point in the history
…one when awt is used.

SecurityManager.checkAccess(ThreadGroup) is specified to be called for every Thread creation
and every ThreadGroup creation and is therefore jvm-independent.  This can be used to get all
Threads associated with an application with good enough accuracy.

An application will be marked as using AWT if it gets associated with the AWT event queue thread.
To avoid unwanted side effects of accidental AWT initialization, TrapExit only tries to dispose
frames when an application is so marked.  Only one AWT application is supported due to a lack of
a way to associate displayed windows with an application.
  • Loading branch information
harrah authored and eed3si9n committed Mar 21, 2014
1 parent 966d5b3 commit 68da0a5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 68da0a5

Please sign in to comment.