OSDN Git Service

Don't throw OutOfMemoryError if it's already been thrown.
authorElliott Hughes <enh@google.com>
Thu, 17 Sep 2009 18:33:21 +0000 (11:33 -0700)
committerElliott Hughes <enh@google.com>
Thu, 17 Sep 2009 18:33:21 +0000 (11:33 -0700)
commitb0c23325609fbe2b955ace9a17aae7f8c2687a7d
tree77f4462b7838353a500cb4810aa8c65ce9b075ab
parent9140e167caad80e4edef60eb788f9f9969b8daee
Don't throw OutOfMemoryError if it's already been thrown.

If GetPrimitiveArrayCritical fails, it throws a suitable exception for us.

Also remove dead code.
libcore/archive/src/main/native/java_util_zip_Deflater.c
libcore/openssl/src/main/native/BNInterface.c