harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serguei Zapreyev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1573) [drlvm][kernel] Some minor issues in j.l.Runtime implementation
Date Mon, 25 Sep 2006 16:10:50 GMT
[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

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
  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


View raw message