Class CloseIgnoringInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class CloseIgnoringInputStream
    extends FilterInputStream
    HV-1025 - On some JVMs (eg the IBM JVM) the JAXB implementation closes the underlying input stream.

    To prevent this we wrap the input stream to be able to ignore the close event. It is the responsibility of the client API to close the stream (as per Bean Validation spec, see jakarta.validation.Configuration).

    Author:
    Guillaume Smet