Skip to content

Commit

Permalink
Merge pull request #20652 from theresa-m/vt_lderr
Browse files Browse the repository at this point in the history
Ignore class loading errors in LoadableDescriptors
  • Loading branch information
hangshao0 authored Nov 21, 2024
2 parents 33108e2 + 82f2856 commit 28a6b3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/vm/createramclass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2061,6 +2061,8 @@ loadFlattenableFieldValueClasses(J9VMThread *currentThread, J9ClassLoader *class
loadableDescriptorLength,
classLoader,
classPreloadFlags & ~J9_FINDCLASS_FLAG_THROW_ON_FAIL);
/* Ignore exceptions that may have been set from failed class loading. */
currentThread->currentException = NULL;
}
}
done:
Expand Down

0 comments on commit 28a6b3e

Please sign in to comment.