Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-277

{Binding,NormalizedNode}StreamEventWriter lack IO error reporting

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 1605

    Description

      While implementing JSON serializer, we have realized that the codec infrastructure has two major flaws:

      • the API methods do not allow an implementation to report an IOException, which is common to anything Writer-based (like GSON's JsonWriter)
      • the API lacks a flush() method which would ensure consistency

      Given this APIs are expected to remain stable after Helium release and be widely used to interact with outside world, we need to fix them before the release.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: