Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 95830 invoked from network); 18 Sep 2006 21:21:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 21:21:59 -0000 Received: (qmail 76624 invoked by uid 500); 18 Sep 2006 21:21:52 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 76117 invoked by uid 500); 18 Sep 2006 21:21:51 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 76097 invoked by uid 99); 18 Sep 2006 21:21:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 14:21:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 14:21:50 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B4587142F7 for ; Mon, 18 Sep 2006 21:17:58 +0000 (GMT) Message-ID: <27003524.1158614278305.JavaMail.jira@brutus> Date: Mon, 18 Sep 2006 14:17:58 -0700 (PDT) From: "Erik Engstrom (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Created: (SANDBOX-173) CSVParser.getLine() blocks until char after eol is recieved. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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