[ http://issues.apache.org/jira/browse/HARMONY-1573?page=all ]
Serguei Zapreyev updated HARMONY-1573:
--------------------------------------
Attachment: rt_impl.patch
It's the patch eliminating the mentioned issues. The patch has been verified
with the j.l.Runtime*Test* kernel tests as well.
> [drlvm][kernel] Some minor issues in j.l.Runtime implementation
> ---------------------------------------------------------------
>
> Key: HARMONY-1573
> URL: http://issues.apache.org/jira/browse/HARMONY-1573
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Serguei Zapreyev
> Priority: Minor
> Attachments: klazz.java, rt_impl.patch, Test2.java, Test2.java, Test2.java, Test2.java
>
>
> Some defects in Runtime impl:
> - Impl can keep hanging process on Windows after VM finish (test #1).
> Restoring the noninheritable i/o handles resolves the issue.
> - "IOE: Stream closed" isn't risen on available() request on Linux if a stream is closed
(test #2).
> Taking into consideration some additional error conditions for poll() resolves the
issue.
> - Throwing an incorrect exit value after destroy() invocation on Windows (test #3).
> Changing the exit code for a terminated process resolves the issue.
> - Stream's available() method should return number of all accessible bytes on Linux as
well (test #4).
> Using the ioctl request resolves the issue if possible
> - Runtime.addShutdownHook(Thread) doesn't throw IAE (test #5, the test should be added
by its author).
> Checking the state of a being added thread resolves the issue
> - VM hangs on attempt to add/remove shutdown hooks while shutdown sequence (test #6,
the test should be added by its author).
> Eliminating a needless synchronization resolves the issue.
> I'm going to attach the corresponding tests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|