Skip to content

Conversation

copybara-service[bot]
Copy link

Change where addCallToRoboInit() inserts call to $$robo$init

addCallToRoboInit() is used to add a $$robo$init call to constructors that belong to classes that are instrumented by Jacoco (the $$robo$init method instantiates the class' shadow object). The addCallToRoboInit() method currently inserts the call to $$robo$init before the return statement. However, it is not guaranteed that a constructor will have a return statement. This change will make it so that the addCallToRoboInit() method adds the call to $$robo$init after the call to super() or this().

@copybara-service copybara-service bot closed this Nov 7, 2022
@copybara-service copybara-service bot merged commit ac29a1e into google Nov 7, 2022
@copybara-service copybara-service bot deleted the piper_485984332 branch November 7, 2022 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants