commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Engstrom (JIRA)" <j...@apache.org>
Subject [jira] Created: (SANDBOX-173) CSVParser.getLine() blocks until char after eol is recieved.
Date Mon, 18 Sep 2006 21:17:58 GMT
CSVParser.getLine() blocks until char after eol is recieved.
------------------------------------------------------------

                 Key: SANDBOX-173
                 URL: http://issues.apache.org/jira/browse/SANDBOX-173
             Project: Commons Sandbox
          Issue Type: Bug
          Components: CSV
    Affects Versions: Nightly Builds
            Reporter: Erik Engstrom


If you are parsing a stream (for example stdin) and you call CSVParser.getLine() I would it
to expect to block until a eol or eof is encountered.  Instead the method blocks until it
has recieved a char after the eol.  This seems to be because ExtendedBufferReader blocks on
lookaheadchar in read().  It should check to see if there the underlying input stream is ready
before blocking to read the lookaheadchar.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message