Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
jfrijters feadf74ac1 Fixed InternalsVisibleToAttribute handling to take the public key into account as well. 2012-08-16 11:32:26 +00:00
jfrijters 0963971a71 Remove usage of AssemblyName.ReferenceMatchesDefinition() because it is broken on .NET and not implemented on Mono. 2012-08-15 09:19:24 +00:00
jfrijters cbf90740d0 Bug fix. AssemblyClassLoader.InternalsVisibleToImpl() would crash with NRE if it got called on a single assembly class loader, because it should call GetLoader(Assembly) to get the AssemblyLoader instead of GetLoaderForExportedAssembly(). 2012-06-11 15:37:03 +00:00
jfrijters 3cfa691e6b More ikvmc error handling clean up. 2012-03-25 09:10:28 +00:00
jfrijters 15507fb735 Bug fix. The $Method inner class for delegates should also be loadable for generic delegates. Thanks to Michael Bayne for reporting this. 2012-01-26 06:44:39 +00:00
jfrijters b69bc0efe8 Bug fix. Support loading resources from assemblies added to the boot classloader (with ikvm.runtime.Startup.addBootClassPathAssemby()). 2011-03-14 11:59:09 +00:00
jfrijters 6c64e2186b Don't convert assembly class loader construction exceptions into critical failure, because critical failure is of dubious value and exception might be handleable by client code. 2011-02-18 12:34:59 +00:00
jfrijters ae6aa72f2a Undo accidental commit. 2011-02-14 06:04:14 +00:00
jfrijters 4ed819c9dd Optimized the Type == operator. 2011-02-14 05:58:49 +00:00
jfrijters 459bd89fa9 Added ikvm.runtime.Startup.addBootClassPathAssemby() API. 2010-12-28 09:03:38 +00:00
jfrijters 55b6fe04fe Fixed first-pass conditional compilation condition. 2010-11-23 06:21:53 +00:00
jfrijters dae206d60b Made assembly class loader construction lazy. 2010-11-23 05:33:42 +00:00
jfrijters 65cd030688 Made ProtectionDomain for assembly class loader lazy. 2010-11-22 07:07:35 +00:00
jfrijters 5a3a196d92 Avoid security manager check for assembly class loaders. The runtime should be priviliged to create the default assembly class loader and a custom security manager might recursively require the assembly class loader to be loaded (which is only "supported" for custom assembly class loaders). 2010-11-03 07:55:11 +00:00
jfrijters 88df63d615 Fix to make sure that ikvmc (and ikvmstub) can find assemblies that are part of a multi assembly (shared class loader) group (if the assembly is in the same directory as the main assembly of the group). 2010-10-06 07:39:59 +00:00
jfrijters d44f1a2be8 Moved core assembly detection to the right place, to avoid problems when a non-main assembly of the core assembly set is explicitly referenced. 2010-10-06 04:27:38 +00:00
jfrijters 19d2d1c0f3 - Made VFS class publishing more robust (against types that depend on missing assemblies).
- Don't publish annotation custom attributes (that show up as $Proxy classes) in VFS /classes/ directory.
- Refactored Type -> name to enable the VFS class publishing code to get the name without instantiating a TypeWrapper for each type.
2010-08-20 12:44:07 +00:00
jfrijters e64377ba29 Expose all types of a shared class loader assembly group in the /classes/ directory of the main assembly of the group. 2010-08-19 09:24:37 +00:00
jfrijters e5f4247e1c Massive change to change resource handling. Java resources are now stored in jars that are stored as managed .NET resources. The jars are projected into VFS and the assembly class loaders know how to load resources from these jars. 2010-08-05 13:43:00 +00:00
jfrijters 32d5017b91 More .NET 4.0 security model attributes. 2010-06-08 12:47:51 +00:00
jfrijters f570d2c719 Allow ikvmstub to explicitly set the bootstrap class loader. 2010-05-19 15:46:27 +00:00
jfrijters 3a314584f8 A generic type instance is loaded by the assembly class loader of the generic type definition, but it should not be registered there (as this causes name clashes and that class loader isn't reported as it's loader anyway), it should be registered by the generic class loader that it is associated with. 2010-05-10 04:45:49 +00:00
jfrijters ceff3d0656 Fix for partial trust regression. 2010-03-25 07:08:58 +00:00
jfrijters daf3ffcf28 Removed ReflectionOnly support from runtime. Now that ikvmstub no longer requires it, there's no good reason to allow Java code to see ReflectionOnly types. 2010-01-29 07:08:56 +00:00
jfrijters d1e163408f Removed IKVM_REF_EMIT, as STATIC_COMPILER or STUB_GENERATOR now always implies IKVM.Reflection. 2010-01-28 09:18:33 +00:00
jfrijters 1d05c1ed7b Last set of changes preparing for new stub generator. A massive amount of conditional compilation changes, to skip irrelevant code when building ikvmstub. 2010-01-28 07:14:37 +00:00
jfrijters dbd6df02ae Integrated new IKVM.Reflection implementation. 2010-01-25 07:52:27 +00:00
jfrijters 69936317d7 Assembly name strings are kept around forever, so it makes sense to intern them. 2009-12-07 05:24:15 +00:00
jfrijters 5166b04d4a More ikvmc assembly/type refactoring. 2009-10-21 04:54:39 +00:00
jfrijters 23c23fb857 Fixed regression introduced when we started allowing generic type definitions to be visible. 2009-10-08 04:59:52 +00:00
jfrijters bc86e620cc Rewrote custom assembly class loader initialization to avoid running user code (static initializer) while holding a lock and to better handle invocation of getClassLoader() during the class loader constructor (or static initializer). 2009-09-09 05:17:04 +00:00
jfrijters 57a6125414 Removed asserts that no longer hold. 2009-09-07 04:53:03 +00:00
jfrijters a4ba87a35f Moved GetAssemblyClassLoader() (and related stuff) from ClassLoaderWrapper to AssemblyClassLoader and renamed it to FromAssembly(). 2009-09-07 04:46:01 +00:00
jfrijters 69d6408db6 Moved AssemblyClassLoader and BootstrapClassLoader into AssemblyClassLoader.cs. 2009-09-07 04:19:04 +00:00