public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: David Gilbert <david.gilbert@object-refinery.com>
To: Mark Wielaard <mark@klomp.org>
Cc: mauve-discuss@sourceware.org
Subject: Re: registerValidation update
Date: Wed, 12 Oct 2005 18:02:00 -0000	[thread overview]
Message-ID: <434D5DC1.5000804@object-refinery.com> (raw)
In-Reply-To: <1129139080.5922.20.camel@localhost.localdomain>

Mark Wielaard wrote:

>Hi,
>
>This updates the ObjectInputStream.registerValidation() test to test
>whether it is only called one in the deserialization tree (the this
>reference) and whether you can add validators at any time and whether
>the priority order is observed.
>
>2005-10-12  Mark Wielaard  <mark@klomp.org>
>
>    * gnu/testlet/java/io/ObjectInputStream/registerValidation.java:
>    Check fields and priority order.
>    * gnu/testlet/java/io/ObjectInputStream/TestObjectInputValidation.java:
>    Add self reference, register multiple times with different priorities,
>    add equals().
>
>I am currently testing a patch for GNU Classpath.
>David since you wrote the original test you might have seen a real world
>program using this feature. If so and this is a Free Software program
>could you let me know so I can also test my patch against that.
>
>  
>
Hi Mark,

There is one case of this in JFreeChart, in the AbstractDataset class.  
I didn't write the code, and I'd have to go and study it to figure out 
what it does...most likely I wrote the Mauve test while trying to 
understand the mechanism in general.  I'm out of time for today, but can 
probably look at this in the morning...

Regards,

Dave

  reply	other threads:[~2005-10-12 18:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 17:44 Mark Wielaard
2005-10-12 18:02 ` David Gilbert [this message]
2005-10-12 19:38   ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434D5DC1.5000804@object-refinery.com \
    --to=david.gilbert@object-refinery.com \
    --cc=mark@klomp.org \
    --cc=mauve-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).