[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-bsd-port-dev
Subject:    Passing a bug fix upstream to bsd-port
From:       glewis () eyesbeyond ! com (Greg Lewis)
Date:       2009-03-09 4:53:17
Message-ID: 20090309045317.GA69214 () misty ! eyesbeyond ! com
[Download RAW message or body]

G'day Brian,

On Wed, Mar 04, 2009 at 03:32:25PM -0800, Brian Gardner wrote:
> I've found what I believe to be a core bug withen the Locale generation 
> in my openjdk6 patch that is also a bug in bsd-port.  The problem that 
> led me to this bug was with the Currency formatting.  Even though I was 
> defining my locale to be en_US, currency was being formated as USD 
> instead of $.  The problem lied in jdk/make/java/java/genlocales.gmk, 
> where is was using $(substr with a '\n'.  It was supposed to get 
> interpreted as a newline character, but instead was getting interpreted 
> as two chars, the \ followed by n.  Attached are the test case I used to 
> verify the problem was fixed, and the patch to genlocales.gmk.  I would 
> imagine there were other locality issues, other than my test case, that 
> this will fix.

I see what you mean.  Thanks for the patch!  I'll give it a try and get
it committed.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic