note that the method in MacOSXWindowSystemInterface.m are using auto release pools but those are not protected by try/finally block
consider using JNF_COCOA_ENTER/JNF_COCOA_EXIT
see http://developer.apple.com/library/mac/#documentation/CrossPlatform/Reference/JavaNativeFoundation_Functions/Reference/reference.html
note that these are usually used in the entry points of JNI calls so that autorelease resources can be used.
consider using JNF_COCOA_ENTER/JNF_COCOA_EXIT
see http://developer.apple.com/library/mac/#documentation/CrossPlatform/Reference/JavaNativeFoundation_Functions/Reference/reference.html
note that these are usually used in the entry points of JNI calls so that autorelease resources can be used.