Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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