commit | f9e4b57d2bdff0604dc6974a8779ecb406d1aa35 | [log] [tgz] |
---|---|---|
author | Denis Vnukov <vnukov@google.com> | Tue May 30 08:00:40 2017 -0700 |
committer | Denis Vnukov <vnukov@google.com> | Tue May 30 08:00:40 2017 -0700 |
tree | 9869f0b5c85443be65937a8a4658584806c5f4e9 | |
parent | 080ec2d61f7b055a55802c072e77e99514499b8f [diff] |
Desugaring of try-with-resources. Adds desugaring of try-with-resources for pre-19 min-sdk version, it essentially boils down to removing all calls to Throwable::addSuppressed(...) and replacing all calls to Throwable::getSuppressed() with empty array of Throwable. The desugaring requires library and class path since it needs to inspect/check exception class hierarchy. Disabling it by default until we measure performance impact. Bug:37744723 BUG= Change-Id: If2781ec68cab3a2b38127ee20fffb94ceac3157a
The R8 repo contains two tools.
D8 is a dexer that converts java byte code to dex code.
R8 is a java program shrinking and minification tool.