DERBY-590: Fix locale-related errors which surfaced on some platforms during the Lucene tests; commit derby-590-23-aa-correctTestLocale.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1586755 13f79535-47bb-0310-9956-ffa450edef68