This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 31 Jan 2002 22:59:51 -0700
- Subject: Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl
- References: <86zo2tolwu.fsf@megacz.com>
- Reply-to: tromey at redhat dot com
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
Adam> What do you all think of handling natPlainSocketImpl the same way
Adam> natFileDescriptorWin32 is handled? This would mean that configure
Adam> would make symlink from natPlainSocketImpl to
Adam> nat${PLATFORM}PlainSocketImpl. Most of the code in natPlainSocketImpl
Adam> seems pretty POSIX-specific.
I think it would be nice to think up a naming scheme that we can use
for this stuff.
The current scheme is almost ok. One thing I'd like to see is the
ability to set the "OS flavor" differently in different situations.
E.g., we might generally want "Posix" but then use "None" for java.net
in some circumstance.
There's a bunch of stuff in natSystem.cc that should probably be moved
elsewhere too.
We probably need to rename natFile.cc.
Ideally for natSystem.cc and perhaps prims.cc we would have some kind
of platform API, just like we have a thread API and a GC API. Then
the platform-specific code can be segregated somewhere.
Tom