ICU-2883 use our own class loader to load our resources!

X-SVN-Rev: 11953
This commit is contained in:
Doug Felt 2003-05-15 21:42:12 +00:00
parent 057a8d5260
commit b31be93ea5

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/CollationParsedRuleBuilder.java,v $
* $Date: 2003/05/14 22:45:59 $
* $Revision: 1.18 $
* $Date: 2003/05/15 21:42:12 $
* $Revision: 1.19 $
*
*******************************************************************************
*/
@ -376,7 +376,7 @@ final class CollationParsedRuleBuilder
try
{
String invdat = "/com/ibm/icu/impl/data/invuca.icu";
InputStream i = invdat.getClass().getResourceAsStream(invdat);
InputStream i = CollationParsedRuleBuilder.class.getResourceAsStream(invdat);
BufferedInputStream b = new BufferedInputStream(i, 110000);
INVERSE_UCA_ = CollatorReader.readInverseUCA(b);
b.close();