Skip to content

Commit 935b098

Browse files
authored
Merge pull request #20383 from theresa-m/fix_20368_48
(0.48) Update classloader when cached rom to ram entry is found
2 parents f171c71 + 6f538fc commit 935b098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/vm/exceptiondescribe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ findJ9ClassForROMClass(J9VMThread *vmThread, J9ROMClass *romClass, J9ClassLoader
258258
omrthread_rwmutex_exit_read(config->romToRamHashTableMutex);
259259
if (NULL != resultEntry) {
260260
ret = resultEntry->ramClass;
261+
*resultClassLoader = ret->classLoader;
261262
goto done;
262263
}
263264

0 commit comments

Comments
 (0)