Skip to content

JsonFactory.createParser() with File may leak InputStreams #763

Closed
@cowtowncoder

Description

@cowtowncoder

(note: offshoot of FasterXML/jackson-databind#3455)

Looks like there is a code path during initialization of InputStream for managed streams (for java.io.File and java.net.URL) which may result in leaked InputStreams (and related entities like file handles).
It's necessary to ensure that this does not happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions