[RFC] Fix PosixProcess by porting VMProcess from Classpath...
Bryce McKinlay
mckinlay@redhat.com
Wed Jul 14 01:11:00 GMT 2004
David Daney wrote:
>It is said that:
>>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801
>>Could be fixed by using VMProcess from Classpath instead of the current
>PosixProcess.
>>There are several other problems that I have been experiencing related
>to not reaping terminated or failed Processes that would also be fixed.
>>>Q1: Does this seem like a good idea?.
>>
Yes. If the general opinion is that Classpath's VMProcess is better than
ours, then I am in favour of switching to/merging with the classpath
version. However, the native part will need to be converted from JNI to
CNI, because to use JNI we'd have to have a separate shared libary for
it. Translating the native code should be relatively straight forward
(CNI is easy) and I'm happy to help out here if needed.
>Q2: Is someone else currently working on fixing this.
>>Not AFAIK.
>Q3: Would it be acceptable to only fix this for PosixProcess and assume
>that Win32 et al work and don't need fixing.
>>Yes. Ideally it would be nice to leave win32 in a working state if we
can do so cleanly, but if breaking win32 temporarily is the price of
getting a better Process implementation, then that's ok.
Regards
Bryce
More information about the Java
mailing list