classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] [Patch] java.nio cleanup


From: Michael Koch
Subject: Re: [cp-patches] [Patch] java.nio cleanup
Date: Fri, 15 Oct 2004 12:50:44 +0200
User-agent: KMail/1.6.2

On Friday 15 October 2004 12:24, Mark Wielaard wrote:
> On Fri, 2004-10-15 at 12:03, Michael Koch wrote:
> > On Friday 15 October 2004 12:00, Mark Wielaard wrote:
> > > Why is this finalize method public and not protected?
> > > And why does it need to throw Throwable?
> > > Any reason to have this finalize method at all in this class.
> > > It seems that finalize(), unmapImpl() and forceImpl() should
> > > only be defined in MappedByteBufferImpl.
> >
> > Don't know. Ask SUN. It's in the API this way.
>
> Can you help me out here? The reason I asked was because I saw this
> code, thought "hmmmm, strange design", checked my Java NIO book
> (O'Reilly) and the online documentation and couldn't find this
> design specified. Maybe I am looking at old information?

Are you okay with the attached patch ?


Michael

Attachment: nio.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]