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

63 Коммитов

Автор SHA1 Сообщение Дата
jfrijters ef1cad0880 Removed fake core class library types from ikvmstub and added a -bootstrap option to run without dependency on runtime/core class library. 2010-05-19 15:48:52 +00:00
jfrijters efc97771e1 Hook AssemblyResolve.Warning event to suppress the HigherVersion event, as we don't care about that one in this scenario.
Added check to avoid running on ourself, because it results in an exception.
2010-05-18 06:49:38 +00:00
jfrijters 8541f8b5ab Moved resolver to StaticCompiler, because for ikvmstub we do want the more strict behavior (of warning/error generating) that AssemblyResolver.LoadFile() provides.
Also don't add specified assembly as a reference unless -nostdlib is specified, otherwise we end up with duplicate warnings if the assembly was loaded from elsewhere.
2010-05-12 15:22:06 +00:00
jfrijters b7c7d0139c Exit if AssemblyResolver.Init() returns an error and load ikvmstub.exe assembly via AssemblyResolver to get error checking (and mscorlib version checking). 2010-05-12 08:39:57 +00:00
jfrijters 87e5eff41c ikvmstub assembly must be loaded explicitly, that fact that it worked without doing that was a bug in IKVM.Reflection's Universe.Import(). 2010-05-10 08:22:42 +00:00
jfrijters eb0b3e3e20 Allow ikvmstub to work with -nostdlib and an explicit path to mscorlib. 2010-05-10 07:18:52 +00:00
jfrijters c773ca6986 - Rewrote assembly loading for ikvmc and ikvmstub (and unified it). It now no longer depends on the runtime to do assembly name to path resolution and behaves more csc like.
- Added -nostdlib and -lib options to ikvmc and ikvmstub.
- openjdk.build now uses our System.Core.dll (unless we're building on .NET 4.0).
2010-04-23 04:58:36 +00:00
jfrijters aa8a616445 Don't export generic type definitions, because the resulting class is final | abstract and that (intentionally) isn't legal. 2010-02-25 10:35:44 +00:00
jfrijters 823ee3fadd Remove ReflectionOnly references. Assemblies are now always ReflectionOnly. 2010-01-29 06:43:34 +00:00
jfrijters 75ac0452bf Don't export arrays, export the element types. 2010-01-28 08:01:24 +00:00
jfrijters 27e55fc3ef New version of ikvmstub that no longer depends on ikvm runtime or Java class library. 2010-01-28 07:29:22 +00:00
jfrijters ce1c1d3aee Don't add private interfaces to ikvmstub exported classes, because they only cause problems. 2009-10-19 05:31:06 +00:00
jfrijters 60908b6881 Added support to automatically export parameterized type parameters. This fixes an issue with javax.swing.tree.DefaultTreeSelectionModel in the japi results because it has a protected method that takes a Vector<javax.swing.tree.PathPlaceHolder> where PathPlaceHolder is a package private class. 2009-07-31 08:25:32 +00:00
jfrijters 1779ec7b66 Hacked support for generated rt.jar from (new shared class loader) core class library assemblies. 2009-02-13 07:23:05 +00:00
jfrijters 046fd5c3de - Fixed tracer to only add a trace listener in executables. Bug #2533728. 2009-02-04 07:03:30 +00:00
jfrijters 690dfb453c Added support for automatically exporting non-vector array types. 2008-11-17 06:10:35 +00:00
jfrijters 684cdf651e Generified all collections. 2008-08-15 12:01:06 +00:00
jfrijters 9644cb6794 Added -reference option to load referenced assemblies from a specific location. 2008-04-23 04:21:36 +00:00
jfrijters 2f57959293 Fixed ReflectionOnly referenced assembly loading order. 2008-02-29 07:05:18 +00:00
jfrijters 38fac732f2 Patch by hellosticky@gmail.com to add -skiperror option. 2007-12-27 17:16:54 +00:00
jfrijters 6da894bcd5 Removed mono workarounds. 2007-12-17 07:43:06 +00:00
jfrijters 9b22fbf1d1 Workaround the fact that Mono doesn't currently implement FieldInfo.GetRawConstantValue(). 2007-12-04 08:10:53 +00:00
jfrijters d6e2cf70f7 Removed more .NET 1.1 workarounds. 2007-11-26 16:00:15 +00:00
jfrijters 3072c89696 - Removed .NET 1.1 specific code
- Removed conditional compilation of .NET 2.0 specific code
2007-11-26 08:38:38 +00:00
jfrijters 83c6e5105d - .NET 1.1 is no longer supported
- Removed .NET 2.0 warnings (except for the "unreachable code" ones)
2007-11-26 05:50:57 +00:00
jfrijters 5213872488 Handle ZipException when creating an empty zip file. 2007-09-10 06:11:27 +00:00
jfrijters e6f8bd11a8 Added -serialver option to set the ikvm.stubgen.serialver system property. 2007-06-14 06:38:49 +00:00
jfrijters 327e29244d Restructed/cleaned up. Fix to export base class if it is generic type. 2007-05-03 12:10:39 +00:00
jfrijters d82d8031f6 Changed ikvmstub to use java.util.zip instead of SharpZipLib. 2007-03-30 05:47:46 +00:00
jfrijters 0a1a172d3b - .NET "generic class loaders" now return something sensible when toString() is called on them.
- Ikvmc no longer warns about generic stubs.
- Ikvmstub now has WHIDBEY conditional code to properly determine if a class is a generic type instance (instead of the name based hack).
- Fixed .NET generic type name mangling bug (nested generic types were double encoded).
- Added support for loading .NET generic type stubs.
- Fixed several .NET generic type loading bugs.
- Fixed ikvm.runtime.Util.getInstanceTypeFromClass() to return null instead of throw an exception when it is called on a "dynamic only" class.
2007-03-29 09:17:19 +00:00
jfrijters f2d2f264df *** empty log message *** 2006-09-12 12:36:19 +00:00
jfrijters a6f7f9c232 *** empty log message *** 2006-08-21 05:15:51 +00:00
jfrijters 8f2adc6fc7 *** empty log message *** 2006-08-17 07:33:38 +00:00
jfrijters da5b1ca145 *** empty log message *** 2006-08-14 07:57:03 +00:00
jfrijters 46d900b234 *** empty log message *** 2006-08-04 13:13:22 +00:00
jfrijters 513a5b6437 *** empty log message *** 2006-08-04 12:39:33 +00:00
jfrijters 049ef7bf74 *** empty log message *** 2006-07-26 07:57:18 +00:00
jfrijters 84a4bc6304 *** empty log message *** 2006-07-21 10:18:13 +00:00
jfrijters 1d69c1f263 *** empty log message *** 2006-06-20 14:31:56 +00:00
jfrijters 6d7734834f *** empty log message *** 2006-06-15 12:29:11 +00:00
jfrijters e3cd40801b *** empty log message *** 2006-05-15 09:08:01 +00:00
jfrijters fb2bae9073 *** empty log message *** 2006-04-05 11:04:43 +00:00
jfrijters 6e8e121040 *** empty log message *** 2006-03-27 07:59:34 +00:00
jfrijters d807710e29 *** empty log message *** 2006-02-21 09:26:30 +00:00
jfrijters d034223f36 *** empty log message *** 2006-01-31 10:13:12 +00:00
jfrijters 2a22da8c79 *** empty log message *** 2006-01-20 08:35:31 +00:00
jfrijters 5e4bb4f5cf *** empty log message *** 2005-12-19 15:12:49 +00:00
jfrijters 7fb5bb4b47 *** empty log message *** 2005-12-07 09:06:32 +00:00
jfrijters 97c51cb18b *** empty log message *** 2005-11-14 09:12:08 +00:00
jfrijters f955d9c9e0 *** empty log message *** 2005-10-01 11:16:11 +00:00