[kepler-dev] [Bug 5259] New: kepler/util/src/util/LineReader.java should be updated to match Ptolemy sources

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Dec 17 16:58:23 PST 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5259

           Summary: kepler/util/src/util/LineReader.java should be updated
                    to match Ptolemy sources
           Product: Kepler
           Version: 2.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: david.v.welker at gmail.com
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


Edward Lee identified and fixed the following bug in
ptolemy.actor.lib.io.LineReader:
r59929 | eal | 2010-12-07 17:52:16 -0800 (Tue, 07 Dec 2010) | 8 lines

LineReader used to produce output on its endOfFile port
   in its postfire() method. This is incorrect. No actor should
   produce output in postfire(). I've corrected this so that the
   output is produced in fire(). The output will be true in the
   same firing where the last line is produced on the output
   port. Thus, in SDF, you can connect the endOfFile port to
   a Stop actor, and the model will stop executing after
   processing the last line in the file.

Kepler has a copy of this code at util/src/util/LineReader.java that should
be examined for this bug.

Ideally, this duplicate file would be removed and any changes necessary folded
in to the Ptolemy tree.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list