Logged In: NO

An alternative would be to simply pass a FileDescriptor to
the super constructor instead of creating a temp file. This
should work platform independently:

private MockFileInputStream() {
// Unfortunately as there is no interface we have to
call the supertype,
// which requires a file.
super(new FileDescriptor());

Can anyone integrate this into the current code?