Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StackOverflowError (Resolved)



Thanks to everyone for the suggestions. I eventually managed to track down the problem by putting a breakpoint on the AWTEventMultiplexer's constructor: turns out I was re-adding a new event listener to a component every time the mouse moved. Either I thought the component would identify duplicates, and handle it gracefully, or I just wasn't thinking. Considering the blunder, I would not have expected java to keep running as long as it did before throwing a StackOverflowError!

I also wanted to reply to one person in particular who pointed out that it's a good idea to set all references to null when disposing a window. My reading of this:

http://developer.apple.com/releasenotes/Java/Java142RN/OutstandingIssues/chapter_4_section_3.html

Is that that's not just a good habit, but rather imperative on the Mac.

Anyway, thanks again for the feedback!

	bjorn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: StackOverflowError (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.