Skip to content

Use Throwable.addSuppressed() directly and/or via try-with-resources #1221

@cowtowncoder

Description

@cowtowncoder

Looks like JDK 7 can solve a nasty problem with secondary exceptions thrown when flushing/closing encoders (like with Avro), by addSuppressed() method. Since we still try to work with Android, at least for 2.8, let's add method(s) via Java7Support abstraction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions