Regression fix. The previous Java class loader construction rewrite introduced a bug. We should re-check the javaClassLoader field while we hold the lock.

This commit is contained in:
jfrijters 2013-02-23 08:04:42 +00:00
Родитель 2a192de1cb
Коммит 935d995617
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -946,7 +946,10 @@ namespace IKVM.Internal
curr.recursion++;
try
{
InitializeJavaClassLoader(curr, customClassLoader);
if (javaClassLoader == null)
{
InitializeJavaClassLoader(curr, customClassLoader);
}
}
finally
{