[Isolate-interest] Why are StreamBindings only for files and sockets?

Curt Cox ccox at tripos.com
Fri Sep 2 18:37:03 EDT 2005


Hi,

I'm curious why javax.isolate.StreamBindings streams are limited to either
files or sockets, while java.lang.System streams have no such limitation.
Even if something in the implementation forces this limitation, wouldn't it
be better to use PrintStream/InputStream and throw an
IllegalArgumentException when appropriate?

- Curt




More information about the Isolate-interest mailing list