Skip to content

Commit

Permalink
Merge pull request #30027 from geoand/runtimeInitializedPackages-return
Browse files Browse the repository at this point in the history
Fix broken Feature#runtimeInitializedPackages method
  • Loading branch information
geoand authored Dec 22, 2022
2 parents f096001 + 6ac08e3 commit 4397da6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ public void write(String s, byte[] bytes) {
CatchBlockCreator cc = tc.addCatch(Throwable.class);
cc.invokeVirtualMethod(ofMethod(Throwable.class, "printStackTrace", void.class), cc.getCaughtException());
}
runtimeInitializedPackages.returnValue(packagesArray);

ResultHandle packages = overallCatch.invokeStaticMethod(runtimeInitializedPackages.getMethodDescriptor());
overallCatch.invokeStaticMethod(INITIALIZE_PACKAGES_AT_RUN_TIME, packages);
Expand Down

0 comments on commit 4397da6

Please sign in to comment.