Skip to content

Commit 2ddcbe8

Browse files
authored
Fix R8 warnings (#3090)
Fixes #3058
1 parent d5a66e0 commit 2ddcbe8

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

kotlinx-coroutines-core/jvm/resources/META-INF/com.android.tools/proguard/coroutines.pro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@
2222
-dontwarn sun.misc.SignalHandler
2323
-dontwarn java.lang.instrument.Instrumentation
2424
-dontwarn sun.misc.Signal
25+
26+
# Only used in `kotlinx.coroutines.internal.ExceptionsConstructor`.
27+
# The case when it is not available is hidden in a `try`-`catch`, as well as a check for Android.
28+
-dontwarn java.lang.ClassValue
29+
30+
# An annotation used for build tooling, won't be directly accessed.
31+
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

kotlinx-coroutines-core/jvm/resources/META-INF/com.android.tools/r8/coroutines.pro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,10 @@
1818
-dontwarn sun.misc.SignalHandler
1919
-dontwarn java.lang.instrument.Instrumentation
2020
-dontwarn sun.misc.Signal
21+
22+
# Only used in `kotlinx.coroutines.internal.ExceptionsConstructor`.
23+
# The case when it is not available is hidden in a `try`-`catch`, as well as a check for Android.
24+
-dontwarn java.lang.ClassValue
25+
26+
# An annotation used for build tooling, won't be directly accessed.
27+
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

kotlinx-coroutines-core/jvm/resources/META-INF/proguard/coroutines.pro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@
2222
-dontwarn sun.misc.SignalHandler
2323
-dontwarn java.lang.instrument.Instrumentation
2424
-dontwarn sun.misc.Signal
25+
26+
# Only used in `kotlinx.coroutines.internal.ExceptionsConstructor`.
27+
# The case when it is not available is hidden in a `try`-`catch`, as well as a check for Android.
28+
-dontwarn java.lang.ClassValue
29+
30+
# An annotation used for build tooling, won't be directly accessed.
31+
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

0 commit comments

Comments
 (0)