Use OpenJdk implementation for java.util.*
- Add a target for currency data (currency.data).
- Arrays: Add an android specific debugging method.
- Currency: Use ICU4C data.
- EnumMap / EnumSet : Use JavaLangAccess directly.
- HashMap / Hashtable / LinkedHashMap : Make Entry<K,V> public.
- LinkedHashMap : Add an eldest() method.
- Locale : Fix handling of 3 letter region codes.
- Scanner : Temporarily remove references to the nio file APIs.
- ServiceLoader : Add a method to instantiate a class from a system
property (used in other parts of libcore).
- Hashing : Use JavaLangAccess directly.
- VM : Remove native initialization (doesn't apply here).
Change-Id: I8e870357cf3987cd571c7ebe8bc633a85380a8d5
diff --git a/Android.mk b/Android.mk
index fd9bcd1..e0a58f6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -41,6 +41,18 @@
include $(LOCAL_PATH)/CaCerts.mk
#
+# Copy OpenJDK prebuilt data files
+#
+include $(CLEAR_VARS)
+LOCAL_MODULE := currency.data-target
+LOCAL_MODULE_STEM := currency.data
+LOCAL_SRC_FILES := ojluni/currency.data
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share
+include $(BUILD_PREBUILT)
+
+#
# Disable test modules if LIBCORE_SKIP_TESTS environment variable is set.
#