Skip to content

Commit 017819f

Browse files
authored
Merge pull request #22136 from dsouzai/fixInlineRelo_0.53
0.53: Ensure method symbol is a resolved method before requesting it
2 parents 7b4bdb5 + 970ec0c commit 017819f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/compiler/compile/J9Compilation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ J9::Compilation::getReloTypeForMethodToBeInlined(TR_VirtualGuardSelection *guard
12051205
}
12061206
else if (receiverClass
12071207
&& TR::Compiler->cls.isAbstractClass(self(), receiverClass)
1208+
&& methodSymbol->isResolvedMethod()
12081209
&& methodSymbol->getResolvedMethodSymbol()->getResolvedMethod()->isAbstract())
12091210
{
12101211
reloKind = TR_InlinedAbstractMethod;

0 commit comments

Comments
 (0)