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: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 02 Feb 2002 13:56:08 +1300
- Subject: Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl
- References: <86zo2tolwu.fsf@megacz.com> <873d0lg2so.fsf@creche.redhat.com> <86adutmv5s.fsf@megacz.com> <3C5B1536.9090607@waitaki.otago.ac.nz> <86r8o493zu.fsf@megacz.com>
Adam Megacz wrote:
>You're saying roll all the platform specific stuff into one file per
>platform?
>
Not for everything. Things like the threads implementation and
natFileDescriptor should stay in separate files because they really are
completely specific to one platform, and it would be good to keep things
grouped by functionality and avoid any one file getting overly huge.
I'm thinking for the cases where there are currently bits and peices of
platform specific code in an otherwise generic file (prims.cc,
natSystem.cc, etc), it would be nice to move them out to a single file
for the platform, avoiding large #ifdef blocks.
regards
Bryce.