Assigned
Status Update
Comments
aa...@yandex-team.ru <aa...@yandex-team.ru> #2
I just attached a minimal test application with duplicated and multiline traces. Provided are a couple of logcat files and screenshots.
To me this isn'r really a big problem, since AS compiles my application and lets me debug it. That's what I use it for in my company. I just found it a bit annoying that something that worked one way in AS 2.x and 3.0, suddenly changed in 3.1. The new way results more time-consuming to me while debugging and reviewing the logs.
Could this be made configurable? Not necessarily in the UI, but editing some properties file. Thanks. :)
To me this isn'r really a big problem, since AS compiles my application and lets me debug it. That's what I use it for in my company. I just found it a bit annoying that something that worked one way in AS 2.x and 3.0, suddenly changed in 3.1. The new way results more time-consuming to me while debugging and reviewing the logs.
Could this be made configurable? Not necessarily in the UI, but editing some properties file. Thanks. :)
aa...@yandex-team.ru <aa...@yandex-team.ru> #4
I also have the same problem.
sg...@google.com <sg...@google.com> #5
I also have the same problem.
aa...@yandex-team.ru <aa...@yandex-team.ru> #6
I also have the same problem.
aa...@yandex-team.ru <aa...@yandex-team.ru> #7
I also have the same problem.
aa...@yandex-team.ru <aa...@yandex-team.ru> #8
Was it fixed reverting to the old behavior, or was it fixed making the deduplication configurable?
What release version will include the fix?
What release version will include the fix?
aa...@yandex-team.ru <aa...@yandex-team.ru> #9
I still have the same problem on my version.
Android Studio 3.1.1
Build #AI-173.4697961, built on April 4, 2018
JRE: 1.8.0_152-release-1024-b02 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 8.1 6.3
Screenshot attached.
Is there any way to customize this kind of behavior?
Android Studio 3.1.1
Build #AI-173.4697961, built on April 4, 2018
JRE: 1.8.0_152-release-1024-b02 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 8.1 6.3
Screenshot attached.
Is there any way to customize this kind of behavior?
ap...@google.com <ap...@google.com> #10
@jose.aladro.jsc@gmail.com This change in behavior was inadvertent and I reverted it. The fix will go out in 3.2.
ap...@google.com <ap...@google.com> #11
how long before 3.2 is released? or should we just go back to 3.0 while we wait?
sg...@google.com <sg...@google.com> #12
The fix will go out in 3.2 Canary 13 (we're at 11 now). If you're willing to put up with some instability use the canaries. I can't comment on when future stable versions will land.
Description
AGP: 8.5.1
R8: 8.5.27
Kotlin: 2.0.0
I create an SDK for other apps to consume, and I started to see crashes around fun interfaces, when consumers compile with full mode enabled.
Source:
When running this code in debug, no crash occurs. When running this code in release with minify and fullmode, it crashes, because classes are merged.
These fun interfaces are compiled by kotlin to invokedynamic:
Then, as I understand, R8 rewrites calls to invokedynamic to instantiation of R8-generated synthetic classes, then R8 merges these two classes into one because they are synthetic.
If I rewrite these SAM declarations to anonymous objects, kotlin compiles them to lambda classes (MainActivityKt$hello$instance1$1), and release mode does not crash
I also attached sample.
Is this a bug?
If not, how can I disable horizontal class merging for my classes?