This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]