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>2011-06-19 14:17:19 +0400
committerjfrijters <jfrijters>2011-06-19 14:17:19 +0400
commit6d381ee6fe794f58e05e67963ec9c931dd34e1c8 (patch)
tree605349cf50c7f82000f2ea25dcb2d1b54b5162fc /openjdk/map.xml
parentc5c44a8a645a9fecc534f7d3624b2d2c9d9fb300 (diff)
Unforked sun.misc.Launcher. Use (more) map.xml patching instead.
Diffstat (limited to 'openjdk/map.xml')
-rw-r--r--openjdk/map.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/openjdk/map.xml b/openjdk/map.xml
index 6a878eea..03a3cdbe 100644
--- a/openjdk/map.xml
+++ b/openjdk/map.xml
@@ -1833,6 +1833,14 @@
<call class="sun.misc.MiscHelper" name="getAppClassLoader" sig="(Ljava.lang.ClassLoader;)Ljava.lang.ClassLoader;" />
</code>
</replace-method-call>
+ <replace-method-call class="java.lang.Thread" name="setContextClassLoader" sig="(Ljava.lang.ClassLoader;)V">
+ <code>
+ <!--
+ The JDK uses setContextClassLoader() here, but we don't want to overwrite the context class loader if it has already been set.
+ -->
+ <callvirt class="java.lang.Thread" name="initContextClassLoader" sig="(Ljava.lang.ClassLoader;)V" />
+ </code>
+ </replace-method-call>
</method>
</class>
<class name="sun.misc.SharedSecrets">