gcj: accessing environment variables

Nic Ferrier nferrier@tapsellferrier.co.uk
Wed Apr 30 23:21:00 GMT 2003


Per Bothner <per@bothner.com> writes:
> Anthony Green wrote:
> > Willful non-conformance is probably a bad idea.
>> Yes, there may be legal issues we don't want to get into.

We don't claim to be JavaTM do we?
> > Perhaps we should
> > introduce a new scheme in the gnu.* package.
>> Perhaps a Java API similar to the scsh (Scheme Shell),
> which provides a nice wrapper around Posix APIs.
>> E.g.
> package gnu.posix;
> public class Process
> {
> static int fork ();
> static void exec(String[] args);
> ...;
> }
>> public class File
> {
> static int open(String name, int mode);
> ...
> }

That's a pretty good idea. We could implement some of the java libs
in terms of this posix layer.
Nic


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /