[PATCH] Load currency.data via ClassLoader

Roman Kennke roman.kennke at aicas.com
Wed Oct 24 08:27:04 UTC 2007

Hi there,

in java.util.Currency, the currency.data is loaded from $JRE_DIR/lib.
I'm having a problem with this in the JamaicaVM, when an application is
built into a single bundle for use on an embedded machine. There is no
JRE installed on that machine, and this file can't be loaded. I suggest
to fall back to loading this file via the ClassLoader. See attached
patch. This should affect normal behaviour, and only adds the option to
put this file in the (boot) classpath instead. What do you think?


Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-currency-patch.txt
Type: text/x-patch
Size: 1392 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20071024/41c739bc/openjdk-currency-patch.txt>

More information about the core-libs-dev mailing list