futokb/java
Jean Chalard 5c32b6da44 Make sure all FDs are correctly closed.
In this kind of series of calls, it's possible that an outer call to a
constructor fails, but the inner succeeded.
Example:
try {
    is = new A(new B());
} finally {
    if (null != is) is.close();
}
In this case, if new B() succeeds but new A() throws an
exception, is stays null and the intermediate object is never
closed. This is what was happening in this instance.

Bug: 7377336
Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
2012-11-13 16:53:07 +09:00
..
res Update AOSP dictionaries. 2012-10-24 16:12:28 +09:00
src/com/android/inputmethod Make sure all FDs are correctly closed. 2012-11-13 16:53:07 +09:00
Android.mk Just a cosmetic cleanup 2012-07-28 21:24:29 +09:00
AndroidManifest.xml Let's enhance 2012-10-12 14:19:40 -07:00
MODULE_LICENSE_APACHE2
NOTICE Add notice for Lexiteria dictionaries. 2012-10-05 11:08:31 +09:00
proguard.flags Fix JNI 2012-08-11 13:54:01 +09:00