Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!goblin3!goblin.stu.neva.ru!odin.sdf-eu.org!.POSTED!not-for-mail From: dagon@dagon.net (Dagon) Newsgroups: comp.lang.java.programmer Subject: Re: Buffers not Serializable in Java? Date: Sun, 23 Oct 2011 13:16:11 -0700 Organization: Dagon.net Lines: 14 Message-ID: References: NNTP-Posting-Host: sverige.sdf.org X-Trace: odin.sdf-eu.org 1319414114 17959 192.94.73.4 (23 Oct 2011 23:55:14 GMT) X-Complaints-To: usenet@odin.sdf-eu.org NNTP-Posting-Date: Sun, 23 Oct 2011 23:55:14 +0000 (UTC) mail-copies-to: never x-fastest-land-animal: cheetah disclaimer: bears author this post for full responsibility X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: dagon@dagon.net (Dagon) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9125 In article , bob wrote: >Why are Buffers not Serializable in Java? Wild guess: Buffers are often used for managing resources outside the Java language, and it would add a lot of complexity to force all implementations to be able to freeze and restore their state. Nothing stops you from writing a subclass that is Serializable. -- Mark Rafn dagon@dagon.net