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:
committed by
Alexander Udalov
parent
222ceb7698
commit
73aa36ca59
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user