From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11652 invoked by alias); 9 Dec 2002 18:38:02 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 11640 invoked from network); 9 Dec 2002 18:38:00 -0000 Received: from unknown (HELO executor.cambridge.redhat.com) (195.224.55.237) by sources.redhat.com with SMTP; 9 Dec 2002 18:38:00 -0000 Received: from cuddles.cambridge.redhat.com (vpn50-13.rdu.redhat.com [172.16.50.13]) by executor.cambridge.redhat.com (Postfix) with ESMTP id 67EEEABAF8; Mon, 9 Dec 2002 18:37:58 +0000 (GMT) Received: (from aph@localhost) by cuddles.cambridge.redhat.com (8.11.6/8.11.0) id gB9Ic3d14053; Mon, 9 Dec 2002 18:38:03 GMT From: Andrew Haley MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15860.58123.895049.444714@cuddles.cambridge.redhat.com> Date: Mon, 09 Dec 2002 10:38:00 -0000 To: Mark Wielaard Cc: mauve-discuss@sources.redhat.com Subject: Re: ResourceBundle variants and child variants In-Reply-To: <1039458865.2921.233.camel@dogx200-017> References: <1039286784.5707.18.camel@elsschot> <15860.32315.697847.431056@cuddles.cambridge.redhat.com> <1039458865.2921.233.camel@dogx200-017> X-SW-Source: 2002-q4/txt/msg00054.txt.bz2 Mark Wielaard writes: > Hi, > > On Mon, 2002-12-09 at 12:27, Andrew Haley wrote: > > Mark Wielaard writes: > > > Mauve contains a couple of java.util.ResourceBundle checks that test for > > > "child variants". The Java Class Libraries, Volume 1, Second Edition > > > explains these things and gives some examples. e.g > > > ErrorResources_de_CH_WIN_95 and ErrorResources_de_CH_WIN_311 are both > > > child variants of ErrorResources_de_CH_WIN. Mauve even contains some > > > tests to check that these child variants are correctly searched for. > > > > > > The API Spec as found online however does not talk about child variants > > > at all. And a quick test against the Sun JDK 1.4.1 implementation seems > > > to suggest that it does not implement support for these child variants. > > > > > > Which specification should we take as normative? > > > Do the different class libraries implementations implement it? > > > (GNU Classpath and libgcj don't support them, kaffe does.) > > > Should these tests be removed from Mauve? > > > > I would think so. There's no way that Mauve should be testing > > anything outside the specifications. > > But the question is, what is considered The Specification? > I use The Java Class Libraries books a lot when implementing classes. > And since it describes the child variants it could also be argued that > the online API doc (and most implementations except for Kaffe) is > flawed. What version of Java is The Java Class Libraries, Volume 1, Second Edition supposed to document? Andrew.