JVM: Add D8 check that class files can be dexed with D8.

This change adds D8 in addition to Dx which is being deprecated.
At some point after the official Dx deprecation, we should remove
the Dx checker.

Moving to D8 has the additional benefit that D8 can dex code
using java 8 features without using a separate desugaring tool.
This commit is contained in:
Mads Ager
2020-01-27 14:09:44 +01:00
committed by Alexander Udalov
parent 222ceb7698
commit 73aa36ca59
7 changed files with 99 additions and 2 deletions
@@ -1,6 +1,11 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS
// Exclamation marks are not valid in names in the dex file format.
// Therefore, do not attemp to dex this file as it will fail.
// See: https://source.android.com/devices/tech/dalvik/dex-format#simplename
// IGNORE_DEXING
class `A!u00A0`() {
val ok = "OK"
}