commit | 92c3534fc8ec0d84ef488c4b692093690a4a8314 | [log] [tgz] |
---|---|---|
author | Mads Ager <ager@google.com> | Wed Jun 07 09:27:22 2017 +0200 |
committer | Mads Ager <ager@google.com> | Wed Jun 07 09:27:22 2017 +0200 |
tree | 7f465e2c1d86e6b533cf50dd8c54f873cd5fc7b4 | |
parent | eaac9171f57cc8462d549b3ca85e28a9594538a5 [diff] |
Do not workaround javac bug that leads to wrong parameter annotations. ASM internally corrects the number of parameter annotations when javac gets it wrong. It does so by using a non-existing java.lang.Synthetic annotation. In the MethodWriter it then undoes that again so that the output will maintain the javac bug. Since we are not using the MethodWriter, we get only half of the workaround, namely the bit that adds these fake annotations. We therefore have to filter them out ourselves to get the right (wrong) behavior. :) R=zerny@google.com Bug: 62300145 Change-Id: Ieec7d165d8b2a6eb664f965693de76801e691bb8
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.