The com.mockobjects.io.MockFileInputStream uses a "known file" for
its
super-class constructor (java.io.FileInputStream). However this
"known
file" is platform dependent.
This patch solves the problem by providing the super-class
constructor with
a FileDescriptor (java.io.FileDescriptor.in), which always exists.
Regards,
Thomas
|