You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Serguei Zapreyev (JIRA)" <ji...@apache.org> on 2006/10/04 05:07:21 UTC

[jira] Commented: (HARMONY-1573) [drlvm][kernel] Some minor issues in j.l.Runtime implementation

    [ http://issues.apache.org/jira/browse/HARMONY-1573?page=comments#action_12439715 ] 
            
Serguei Zapreyev commented on HARMONY-1573:
-------------------------------------------

Sorry once again, so,
the test #1 consists of the attachement  #6. The issue is actual for Windows.
The test #2 consists of the attachement  #5. The issue is actual for Linux.
The test #3 consists of the attachements #4 and #1. The issue is actual for Windows
The test #4 consists of the attachement  #3. The issue is actual for Linux.
The test #5 consists of the attachement  #7. The issue is actual for both platforms.
The test #6 consists of the attachement  #8. The issue is actual for both platforms.

To reproduce an issue the corresponding test should be compiled and run by the 
following way (for example, for the test #3):
   javac Test2.java klazz.java
   java -cp . Test2

or (for the test #5):
   javac Test5.java
   java -cp . Test5


> [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, Test5.java, Test6.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