Update D8 used for dexing tests to version 2.1.96.
This commit is contained in:
committed by
Alexander Udalov
parent
48599e3768
commit
41f5ac393a
+1
-1
@@ -183,7 +183,7 @@ extra["versions.jflex"] = "1.7.0"
|
||||
extra["versions.markdown"] = "0.1.25"
|
||||
extra["versions.trove4j"] = "1.0.20181211"
|
||||
extra["versions.completion-ranking-kotlin"] = "0.1.3"
|
||||
extra["versions.r8"] = "2.1.75"
|
||||
extra["versions.r8"] = "2.1.96"
|
||||
val immutablesVersion = "0.3.1"
|
||||
extra["versions.kotlinx-collections-immutable"] = immutablesVersion
|
||||
extra["versions.kotlinx-collections-immutable-jvm"] = immutablesVersion
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// 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.
|
||||
// Therefore, do not attempt to dex this file as it will fail.
|
||||
// See: https://source.android.com/devices/tech/dalvik/dex-format#simplename
|
||||
// IGNORE_DEXING
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
@@ -16,4 +16,4 @@ class `A!u00A0`() {
|
||||
|
||||
fun box(): String {
|
||||
return `A!u00A0`().ok
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,11 +6,9 @@
|
||||
|
||||
// Names with spaces are not valid according to the dex specification
|
||||
// before DEX version 040. Therefore, do not attempt to dex the resulting
|
||||
// class file. When D8 is updated to the most recent version, we can increase
|
||||
// the min android api level during dexing to allow these spaces.
|
||||
// class file with a min api below 30.
|
||||
//
|
||||
// See: https://source.android.com/devices/tech/dalvik/dex-format#simplename
|
||||
// IGNORE_DEXING
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
|
||||
fun `method with spaces`(): String {
|
||||
|
||||
-2
@@ -2,8 +2,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// FULL_JDK
|
||||
// IGNORE_DEXING
|
||||
// ^ https://issuetracker.google.com/issues/182339153
|
||||
|
||||
// FILE: Java.java
|
||||
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// IGNORE_DEXING
|
||||
// IGNORE_BACKEND: WASM
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
@@ -1005,4 +1004,4 @@ fun box(): String {
|
||||
test()
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_DEXING
|
||||
// ^ 2.1.75 fails with AssertionError (2.0.88 doesn't). TODO: investigate in more detail.
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// WITH_RUNTIME
|
||||
// JDK_15
|
||||
|
||||
// D8 does not yet desugar java records.
|
||||
// IGNORE_DEXING
|
||||
|
||||
interface KI<T> {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// Parenthesis are not valid in names in the dex file format.
|
||||
// Therefore, do not attempt to dex this file as it will fail.
|
||||
// See: https://source.android.com/devices/tech/dalvik/dex-format#simplename
|
||||
// IGNORE_DEXING
|
||||
class `(X)` {
|
||||
fun `(Y)`() {}
|
||||
|
||||
@@ -65,7 +65,7 @@ public class D8Checker {
|
||||
private static void runD8(Consumer<D8Command.Builder> addInput) {
|
||||
ProgramConsumer ignoreOutputConsumer = new DexIndexedConsumer.ForwardingConsumer(null);
|
||||
D8Command.Builder builder = D8Command.builder(new TestDiagnosticsHandler())
|
||||
.setMinApiLevel(28)
|
||||
.setMinApiLevel(30)
|
||||
.setMode(CompilationMode.DEBUG)
|
||||
.setProgramConsumer(ignoreOutputConsumer);
|
||||
addInput.accept(builder);
|
||||
|
||||
Reference in New Issue
Block a user