commit | f38a658eb5babf1bb388cb44d128efda061c857b | [log] [tgz] |
---|---|---|
author | Mads Ager <ager@google.com> | Thu Jun 15 16:15:22 2017 +0200 |
committer | Mads Ager <ager@google.com> | Thu Jun 15 16:15:22 2017 +0200 |
tree | 3f007d6355b9552018b53cb7d703684c4a689bf3 | |
parent | 8adc8666e4210da7a4c63df9a1afa8ce70f3dcdd [diff] |
Reject names that cannot be represented in the dex format. This change is a little more restrictive in method names than what the spec says. However, art doesn't allow names of the form '<name>' unless it is eactly '<init>' or '<clinit>'. Therefore, we should explicitly reject those names instead of generating dex files that cannot verify. R=sgjesse@google.com Bug: 62450011 Change-Id: I2fc8d612bdd1fea0f637240a63ddfc4901c45f72
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.