}
UResource.Key key = new UResource.Key();
ReaderValue readerValue = new ReaderValue();
- rb.getAllItemsWithFallback(key, readerValue, sink);
+ rb.getAllItemsWithFallback(key, readerValue, sink, this);
}
/**
}
private void getAllItemsWithFallback(
- UResource.Key key, ReaderValue readerValue, UResource.Sink sink) {
+ UResource.Key key, ReaderValue readerValue, UResource.Sink sink, UResourceBundle requested) {
// We recursively enumerate child-first,
// only storing parent items in the absence of child items.
// The sink needs to store a placeholder value for the no-fallback/no-inheritance marker
// if we had followed an alias.
String[] pathKeys = new String[depth];
getResPathKeys(pathKeys, depth);
- rb = findResourceWithFallback(pathKeys, 0, parentBundle, null);
+ rb = findResourceWithFallback(pathKeys, 0, parentBundle, requested);
}
if (rb != null) {
- rb.getAllItemsWithFallback(key, readerValue, sink);
+ rb.getAllItemsWithFallback(key, readerValue, sink, requested);
}
}
}
// ICU-20992: Bad patterns for missing fields
"ckb_IR", "mmSSS", "mm:ss٫SSS",
"ckb_IR", "BSSS", "SSS ├'Dayperiod': B┤",
+
+ // ICU-21873: Missing aliased values
+ "en_001@calendar=islamic", "Ehm", "EEE, h:mm a",
};
-
+
for (int i = 0; i < testCases.length; i += 3) {
String localeID = testCases[i];
ULocale locale = new ULocale(localeID);