Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2013-02-23 12:04:42 +0400
committerjfrijters <jfrijters>2013-02-23 12:04:42 +0400
commit935d995617c574bfe841173d2832034568469b3f (patch)
treef5daefd1fff7e80d16a2e836f85fb17231c787f8
parent2a192de1cb84e7ece8efb26bc38a488ae4e051ba (diff)
Regression fix. The previous Java class loader construction rewrite introduced a bug. We should re-check the javaClassLoader field while we hold the lock.
-rw-r--r--runtime/AssemblyClassLoader.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/AssemblyClassLoader.cs b/runtime/AssemblyClassLoader.cs
index b4580e44..8bd5d8e1 100644
--- a/runtime/AssemblyClassLoader.cs
+++ b/runtime/AssemblyClassLoader.cs
@@ -946,7 +946,10 @@ namespace IKVM.Internal
curr.recursion++;
try
{
- InitializeJavaClassLoader(curr, customClassLoader);
+ if (javaClassLoader == null)
+ {
+ InitializeJavaClassLoader(curr, customClassLoader);
+ }
}
finally
{