Fixed
Status Update
Comments
ch...@google.com <ch...@google.com>
je...@google.com <je...@google.com>
am...@google.com <am...@google.com> #2
Thank you for posting an issue. It is not obvious to me what the error is, please give some more information, ideally a
If you cannot provide a dump, please share the full stack trace and potentially the classes that are failing if that is available from the information you have. You can probably obtain it by running the release process from the command line.
The Expected stack map table for method with non-linear control flow.
is because you have invalid class file input. It is an error to not provide frame information in jumps and has been so from class file version 50.
Description
DESCRIBE THE ISSUE IN DETAIL:
Im using a custom AsmClassVisitorFactory in order to transform local class files and dependencies. However it does not invoke a transformation on self-resolving dependencies such as JARs and AAR files that I add to the build like:
Please take a look at the attached project where I have added a JAR and an AAR file to the build. In the buildSrc you will find an ExamplePlugin that uses the Instrumentation API and just prints the name of each class that is about to be transformed.
I also print inputs and outputs of each task. You will notice that the transformation is applied to project classes, dependencies but not the included JAR and AAR file.
STEPS TO REPRODUCE:
Also attached is the Gradle log
If that's intended behavior, we would like to understand why these artifacts are excluded.
Studio Build: 2021.3.1 Patch 1 Version of Gradle Plugin: 7.3.1 Version of Gradle: 7.4 Version of Java: 11 OS: Windows 11