38 static Dictionary<string, string> systemPackages;
43 static void LazyInitSystemPackages()
46 throw new NotImplementedException();
48 if (systemPackages ==
null)
50 var dict =
new Dictionary<string, string>();
51 var path = Path.Combine(VfsTable.GetAssemblyResourcesPath(
JVM.Vfs.Context,
JVM.Context.
Resolver.ResolveBaseAssembly().AsReflection(),
JVM.
Properties.HomePath),
"resources.jar");
53 foreach (var pkg
in pkgs.Value)
54 dict[pkg.Replace(
'.',
'/') +
"/"] = path;
63 LazyInitSystemPackages();
64 systemPackages.TryGetValue(name, out
string path);
70 LazyInitSystemPackages();
71 var pkgs =
new string[systemPackages.Count];
72 systemPackages.Keys.CopyTo(pkgs, 0);
ISymbolResolver Resolver
Gets the ISymbolResolver associated with this instance of the runtime.
RuntimeClassLoaderFactory ClassLoaderFactory
Gets the RuntimeClassLoaderFactory associated with this instance of the runtime.