I remember seeing problems like this before, in a non-Harmony jre, where a
Runtime.exec() would never return. I hunted around and found an interesting page
on JavaWorld:

 http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

I found the "Why Runtime.exec() hangs" section very useful, and it solved my problem at the time. I'm not saying that what you're seeing is definitely the same thing that I encountered, but it may help. I notice that in this test stdout and stderr for the process are not read - is it possible that it is producing some output, and since it isn't being read the process just waits
leading to the exec never exiting?

Regards,
Oliver


Geir Magnusson Jr (JIRA) wrote:
[classlib] Tests hang on in luni : tests.api.java.io.FileTest / 
test_setReadOnly on Ubunti 6.06
-----------------------------------------------------------------------------------------------

         Key: HARMONY-638
         URL: http://issues.apache.org/jira/browse/HARMONY-638
     Project: Harmony
        Type: Bug

Components: Classlib Reporter: Geir Magnusson Jr


it seems that exec() doesn't work - it never returns.  Bug in IBM j9 kernel 
classes?

Mark Hindress is trying to duplcate to reconfirm.

ubuntu 6.06
gcc 3.4
invoked by Sun Java 1.5.0_07
IBM J9 for linux, v3 mk II




--
Oliver Deakin
IBM United Kingdom Limited


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to