Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2023

API reload(...) should not require a Channel. An input stream, URI, or byteArray should work.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.2.0
    • None
    • API
    • None

    Description

      For JAPI, SAPI, and the regular internals, the use of Channels everywhere instead of regular java io streams is annoying.

      For DataProcessor.save, and compiler.reload, we should accept ordinary java.io.InputStream and java.io.OutputStream.

      No point in making a java programmer understand Channels to use a simple API like this.

      Our use of channels may be ill-advised here anyway. I can't recall the rationale for choosing them to begin with.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: