You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/02/04 20:28:00 UTC
[jira] [Closed] (DAFFODIL-2023) API reload(...) should not require
a Channel. An input stream, URI, or byteArray should work.
[ https://issues.apache.org/jira/browse/DAFFODIL-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Lawrence closed DAFFODIL-2023.
------------------------------------
> API reload(...) should not require a Channel. An input stream, URI, or byteArray should work.
> ---------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2023
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2023
> Project: Daffodil
> Issue Type: Improvement
> Components: API
> Affects Versions: 2.2.0
> Reporter: Mike Beckerle
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)