Skip to content

Commit

Permalink
Correct equality check with new scc rom class flag
Browse files Browse the repository at this point in the history
Signed-off-by: Theresa Mammarella <[email protected]>
  • Loading branch information
theresa-m committed Aug 21, 2024
1 parent aa91298 commit 127bdb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/bcutil/ROMClassBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,10 @@ ROMClassBuilder::compareROMClassForEquality(
{
bool ret = false;

if (romClassIsShared) {
extraModifiers |= J9AccClassIsStoredInSCC;
}

#if JAVA_SPEC_VERSION < 21
if (context->isLambdaClass()) {
/*
Expand Down

0 comments on commit 127bdb7

Please sign in to comment.