>>>>> "Roman" == Roman Kennke <[EMAIL PROTECTED]> writes:

Roman> we are having problems here with java.io.File on Windows CE. Which
Roman> handles files different again than other Windows and of course
Roman> different than Unix.
[...]
Roman> Maybe we should get rid of all the special casing anyway and provide a
Roman> default straightforward impl for Posixy systems, for the sake of
Roman> efficiency and cleanness.

It seems to me that this is an area we haven't handled very well: this
isn't really a "VM" thing per se -- the code could very well be
written in pure java -- but rather a platform thing.

I agree that adding special cases in File just makes the code uglier
and uglier.  But, we could delegate to a pure java "platform" class,
with instances for "posixy", Windows, Windows CE, etc, and share the
code across all VMs.

We do something vaguely similar to this in libgcj (though in the
specific case of File we put the platform stuff in native code).

Tom

Reply via email to