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.