IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Java.Externs.sun.misc.MiscHelper Class Reference

Static Public Member Functions

static object getAssemblyClassLoader (Assembly asm, object extcl)
 

Detailed Description

Definition at line 33 of file MiscHelper.cs.

Member Function Documentation

◆ getAssemblyClassLoader()

static object IKVM.Java.Externs.sun.misc.MiscHelper.getAssemblyClassLoader ( Assembly asm,
object extcl )
static

Definition at line 36 of file MiscHelper.cs.

37 {
38#if FIRST_PASS
39 throw new NotImplementedException();
40#else
41 if (extcl == null || asm.IsDefined(typeof(IKVM.Attributes.CustomAssemblyClassLoaderAttribute), false))
42 {
43 return JVM.Context.AssemblyClassLoaderFactory.FromAssembly(asm).GetJavaClassLoader();
44 }
45
46 return null;
47#endif
48 }
Marks an assembly such that it's types are considered to be loaded by the specified class loader type...
Main state of the running JVM.
RuntimeAssemblyClassLoader FromAssembly(Assembly assembly)
Obtains the RuntimeAssemblyClassLoader for the given Assembly. This method should not be used with dy...
RuntimeAssemblyClassLoaderFactory AssemblyClassLoaderFactory
Gets the RuntimeAssemblyClassLoaderFactory associated with this instance of the runtime.

The documentation for this class was generated from the following file: