OSDN Git Service

Deprecate many of the accidentally-published APIs in dalvik.system.
authorJesse Wilson <jessewilson@google.com>
Wed, 23 Sep 2009 06:42:13 +0000 (23:42 -0700)
committerJesse Wilson <jessewilson@google.com>
Fri, 25 Sep 2009 23:43:48 +0000 (16:43 -0700)
commit979baaeae3122b0c7ad5b24e7842472127b8a967
treeb35c8ba48e75d8c11fa945edf80e9f84395e4868
parentbb710e3294c57587f327c5e365353af81aa2cb5f
Deprecate many of the accidentally-published APIs in dalvik.system.

See bug 2021674 for discussion. I searched Google Code Search to
sample which of these APIs are being used. None of these APIs
were used by applications, so I'm quite confident that removing
them will not break applications or upset developers.

These APIs were neither formerly documented, nor intended for use
by application developers. I am deprecating them now to discourage
their use going forward. We should remove them in a future release.
libcore/dalvik/src/main/java/dalvik/system/AllocationLimitError.java
libcore/dalvik/src/main/java/dalvik/system/PotentialDeadlockError.java
libcore/dalvik/src/main/java/dalvik/system/StaleDexCacheError.java
libcore/dalvik/src/main/java/dalvik/system/TemporaryDirectory.java
libcore/dalvik/src/main/java/dalvik/system/TouchDex.java
libcore/dalvik/src/main/java/dalvik/system/VMDebug.java
libcore/dalvik/src/main/java/dalvik/system/VMRuntime.java
libcore/dalvik/src/main/java/dalvik/system/VMStack.java
libcore/dalvik/src/main/java/dalvik/system/Zygote.java