-
JRE, JNI & Finishing the AWT work
Hi,
I just novice with AWT internals. Couldn't somobody hint me how to finish
all AWT threads (EventQueue, Screen Updater, TimerQueue and so forth)
without System.exit() being executed cause it destroys the Java Virtual
Machine. I've embeded Sun's JVM into the Windows application through JNI and
can't properly finish AWT threads. The main application is redefined the
JDK1_1InitArgs.exit field during the JVM creation and does now nothing.
There must be the way to normal finish the AWT threads from inside of JVM
and redefined exit() must be remained blank, it seems, cause exit() is
called in the context of JVM native thread and can't stop or destroy itself
hence.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks