mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-12227 Always specify class loader when loading test data.
X-SVN-Rev: 38464
This commit is contained in:
parent
5c11445c6b
commit
88a80c655c
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (c) 2006-2014, International Business Machines
|
||||
* Copyright (c) 2006-2016, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Created on 2006-4-21
|
||||
|
@ -76,7 +76,8 @@ class ResourceModule implements TestDataModule {
|
|||
|
||||
ResourceModule(String baseName, String localeName) throws DataModuleFormatError{
|
||||
|
||||
res = (UResourceBundle) UResourceBundle.getBundleInstance(baseName, localeName);
|
||||
res = (UResourceBundle) UResourceBundle.getBundleInstance(baseName, localeName,
|
||||
getClass().getClassLoader());
|
||||
info = getFromTable(res, INFO, UResourceBundle.TABLE);
|
||||
testData = getFromTable(res, TEST_DATA, UResourceBundle.TABLE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue