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

159 Коммитов

Автор SHA1 Сообщение Дата
jfrijters dbd6df02ae Integrated new IKVM.Reflection implementation. 2010-01-25 07:52:27 +00:00
jfrijters 34bf6475f7 Changed JNI to use standard caller ID mechanism. 2010-01-06 14:28:38 +00:00
jfrijters 5166b04d4a More ikvmc assembly/type refactoring. 2009-10-21 04:54:39 +00:00
jfrijters 5cdb8b43e4 Removed .NET 4.0 beta 1 workarounds and did some minor updates for .NET 4.0 beta 2. 2009-10-21 04:43:27 +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 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
jfrijters db9c796794 Removed vestigial compact framework support. 2009-08-28 06:47:16 +00:00
jfrijters 285bf4dfbb Added support for exposing open generic types as Java classes (special "handle" classes that can only be used for stack walking). 2009-08-27 14:40:42 +00:00
jfrijters fd4ee83c14 Handle Annotation.__ReturnValue and Annotation.__Multiple fake types. 2009-07-29 07:02:50 +00:00
jfrijters d592720c9c Added App.config setting (ikvm-emit-symbols) to force emitting debug symbols on or off. 2009-07-27 08:06:41 +00:00
jfrijters b75fb48ee8 Implemented class gc (available only when compiling on .NET 4.0). 2009-06-02 07:38:21 +00:00
jfrijters 7b120d5942 Added JavaModuleAttribute to dynamic module to make detection of Java types more straightforward. 2009-05-29 07:47:20 +00:00
jfrijters 25586ad542 Removed unused method. 2009-05-28 06:11:09 +00:00
jfrijters 6dd2495ad8 Made dynamic assembly detection more reliable and moved the utility method to ReflectUtil. 2009-05-28 05:58:35 +00:00
jfrijters 2250bf14c1 Changed DynamicClassLoader API to make it easier to move from global AssemblyBuilder to per ClassLoader. 2009-05-26 10:17:57 +00:00
jfrijters 546cc4fdba Implemented native library unloading to support evil trick that com.sun.jna.Native$DeleteNativeLibrary uses (it uses reflection to call ClassLoader$NativeLibrary.finalize() to force the native library to be unloaded, even though the class loader isn't garbage collected.) 2009-03-09 09:01:36 +00:00
jfrijters 629416833c Delegate fixes. 2009-03-07 08:33:33 +00:00
jfrijters f780844c1c Fixed regression introduced in 0.38 that caused LinkageError to be thrown instead of ClassCircularyError. 2009-03-07 08:11:28 +00:00
jfrijters f4991c7bd4 Made Mono compilation workarounds conditional on __MonoCS__. 2009-03-02 06:30:13 +00:00
jfrijters f7f3ad1c6c Added hack to fail fast if we encounter (a particular kind of) corrupt assembly generated by some obfuscator. 2009-03-02 04:51:05 +00:00
jfrijters f80fc0203a Disable compiler warning. 2009-02-27 06:43:00 +00:00
jfrijters 536a99cc98 Made the reading of the ikvm.exports resource lazy. 2009-02-27 06:33:19 +00:00
jfrijters 7a9aa4d619 It turns out that constructing an AssemblyName is very expensive, so we simply use the string names. 2009-02-27 06:28:50 +00:00
jfrijters 8224903a75 Added a helper method to invoke AccessController.doPrivileged() and pass in explicit CallerID. 2009-02-27 06:05:22 +00:00
jfrijters 9803e4805b Use "ikvm.exports" map for "wildcard exports" (i.e. assemblies that are referenced and whose types are available thru the assembly class loader). 2009-02-19 08:12:05 +00:00
jfrijters 007b01b8a4 Renamed AssemblyClassLoader.Assembly to MainAssembly. 2009-02-10 07:27:25 +00:00
jfrijters 288a3fddbd Changed "InternalsVisibleTo" handling to be based on Assembly instead of class loader. 2009-02-10 07:24:30 +00:00
jfrijters a9c13f45bc Refactored assembly resource loading and added support for delegating to sharedclassloader assembly groups. 2009-02-05 07:00:59 +00:00
jfrijters d829bde2e6 Cache assembly load failures (because the CLR binder also caches failures). 2009-02-05 06:44:30 +00:00
jfrijters 4700903ea8 Fixed AssemblyClassLoader.GetAssembly() to handle fake types. 2009-02-04 08:10:24 +00:00
jfrijters 5eebd6f17b Added AssemblyClassLoader.GetAssembly(TypeWrapper) and changed most code that assumed that an AssemblyClassLoader represented a single assembly to use it. 2009-02-04 07:24:44 +00:00
jfrijters 77b20a1cb8 Renamed ClassLoadWrapper.GetType(string) to GetGenericTypeDefinition() to make clear what it is used for. 2009-02-04 07:10:59 +00:00
jfrijters 59d5957edc Removed method that is no longer used. 2009-01-17 11:05:28 +00:00
jfrijters 793d00fea7 Assemblies part of a shared class loader group should be supported by ikvmc as well. 2008-12-24 05:11:48 +00:00
jfrijters 39b6ecfb4c Implemented shared class loader support. 2008-12-23 07:11:29 +00:00
jfrijters e62914f4a1 - Made java.lang.ClassLoader.loadClassInternal() accessible.
- Call ClassLoader.loadClassInternal() instead of ClassLoader.loadClass() to lock class loader object.
2008-11-18 05:25:06 +00:00
jfrijters faffcc628c Integrated IKVM.Reflection.Emit in ikvmc. 2008-11-14 08:42:07 +00:00
jfrijters bb94260c11 Switched from obsolete ConfigurationSettings.AppSettings to new ConfigurationManager.AppSettings. 2008-08-28 06:50:16 +00:00
jfrijters 684cdf651e Generified all collections. 2008-08-15 12:01:06 +00:00
jfrijters 16a65985af Removed support for building with GNU Classpath class library. 2008-08-06 12:22:06 +00:00
jfrijters 018eaf5acb Restructured code to remove (mcs) compiler warnings. 2008-05-20 07:43:42 +00:00
jfrijters 9c2dfec3c5 Added workarounds for mcs compiler bug (related to the mutual dependency of the runtime and class library assemblies). 2008-05-20 07:36:50 +00:00
jfrijters 2c35fdd246 Moved "fake" type handling to the proper place. 2008-04-22 06:24:55 +00:00
jfrijters e44a87fed7 Ignore codebase for dynamic assemblies. 2008-03-14 09:15:08 +00:00
jfrijters ca51feb27f Added support for defining unloadable (i.e. missing) types to use as custom modifiers in signatures. 2008-03-04 07:25:36 +00:00
jfrijters 828a4de95d Replaced notion of DynamicOnly types with Fake types. Fake types are implemented as generic type instances and can have DynamicOnly methods. 2008-03-03 07:05:19 +00:00
jfrijters d04c813e3f - Added -removeassertions optimization option to ikvmc.
- Added -removeassertions to IKVM.OpenJDK.ClassLibrary.dll build.
- Don't look at unreachable instructions when determining if a method needs a line number table.
2008-02-27 09:04:19 +00:00
jfrijters c74b70d904 - Don't instantiate DotNetTypeWrapper before knowing it's the right one.
- Reuse name instead of recomputing it in the DotNetTypeWrapper constructor.
2008-02-10 09:05:53 +00:00
jfrijters e2c7ceb1d5 - Moved some calls to methods with a LinkDemand (that fails in partial trust) to a separate methods.
- Added stuff to map.xml to remove the need for reflection in VM / Library bootstrap.
- Inverted IKVM.Runtime.JNI dependency in stack walking code.
2007-12-27 15:16:49 +00:00