Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-23 Thread Gregory Shimansky
Hello Paulex I have no objections against your changes. A check is always cheaper than exception. I just wondered how a user code such as finalizer can affect VM like that, nothing more. 2006/5/23, Paulex Yang [EMAIL PROTECTED]: I have a question about this problem. Do you know how

Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-23 Thread Tim Ellison
FYI exceptions thrown during a finalize method end the execution of that method, but otherwise are ignored by the finalizer. Regards, Tim Paulex Yang wrote: Gregory, Sorry I response so late. I just back from a long vacation and it took me longer time than I expected to catch up the mailing

Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-22 Thread Paulex Yang
Gregory, Sorry I response so late. I just back from a long vacation and it took me longer time than I expected to catch up the mailing list (after all, it's very active!). Please see my comments below. Gregory Shimansky wrote: Hello Paulex I have a question about this problem. Do you know

Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-19 Thread Gregory Shimansky
Hello Paulex I have a question about this problem. Do you know how exception in finalizer method affects the finalizer thread that it becomes suspended? I thought that when calling finalize method the code should catch all exceptions thrown by it and ignore them. AFAIK that's how finalizers are

Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-19 Thread George Harley
Gregory Shimansky wrote: Hello Paulex I have a question about this problem. Do you know how exception in finalizer method affects the finalizer thread that it becomes suspended? I thought that when calling finalize method the code should catch all exceptions thrown by it and ignore them.