File tree 5 files changed +12
-2
lines changed
kotlinx-coroutines-core/jvm/resources/META-INF/proguard
kotlinx-coroutines-test/resources/META-INF/proguard
ui/kotlinx-coroutines-android
5 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -350,12 +350,12 @@ import kotlinx.coroutines.*
350
350
import kotlin.system.*
351
351
352
352
fun main () = runBlocking<Unit > {
353
- // sampleStart
353
+ // sampleStart
354
354
val time = measureTimeMillis {
355
355
println (" The answer is ${concurrentSum()} " )
356
356
}
357
357
println (" Completed in $time ms" )
358
- // sampleEnd
358
+ // sampleEnd
359
359
}
360
360
361
361
suspend fun concurrentSum (): Int = coroutineScope {
Original file line number Diff line number Diff line change 1
1
# ServiceLoader support
2
2
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
3
3
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
4
+ -keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
5
+ -keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
4
6
5
7
# Most of volatile fields are updated with AFU and should not be mangled
6
8
-keepclassmembernames class kotlinx.** {
Original file line number Diff line number Diff line change 1
1
# ServiceLoader support
2
2
-keepnames class kotlinx.coroutines.test.internal.TestMainDispatcherFactory {}
3
+ -keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
4
+ -keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
3
5
4
6
# Most of volatile fields are updated with AFU and should not be mangled
5
7
-keepclassmembernames class kotlinx.** {
Original file line number Diff line number Diff line change 1
1
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
2
2
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
3
+ -keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
4
+ -keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
5
+
3
6
-keepclassmembernames class kotlinx.** {
4
7
volatile <fields>;
5
8
}
Original file line number Diff line number Diff line change 1
1
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
2
2
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
3
+ -keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
4
+ -keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
5
+
3
6
-keepclassmembernames class kotlinx.** {
4
7
volatile <fields>;
5
8
}
You can’t perform that action at this time.
0 commit comments