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

109 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 1e3a90329d Include OpenJDK 7 java.lang.AutoCloseable interface and make it shadow System.IDisposable. Removed java.io.Closeable special casing to support IDisposable (now automatic because Closeable extends AutoCloseable). 2011-06-27 15:15:32 +00:00
jfrijters c742dbb2d9 Added support for declaring exceptions on shadow interface methods. 2011-06-27 13:15:17 +00:00
jfrijters 30b468d3d8 Newer versions of ICSharpCode.SharpZipLib.dll require the ZipEntry size to be set explicitly, otherwise the generated archive will not be compatible with older zip implementations (like Java 6's java.util.zip). 2011-05-26 15:40:17 +00:00
jfrijters 1ece86e9fa Added -namespace: option to only process types in the specified namespace(s). 2010-12-24 07:59:56 +00:00
jfrijters 16743172bf Added -out: option and improved usage message. 2010-12-24 06:18:27 +00:00
jfrijters f93e661402 Fixed encoding of boolean annotation method defaults. 2010-12-07 08:16:32 +00:00
jfrijters 349d1dbad4 Don't mark abstract methods as native. 2010-12-03 11:05:04 +00:00
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 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 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 968e7e067c Updated build to split IKVM.OpenJDK.ClassLibrary.dll into ten parts. 2008-12-23 07:28:20 +00:00
jfrijters 2ad7f238c2 Removed yet more GNU Classpath support left overs. 2008-12-23 06:52:22 +00:00
jfrijters 083b5ebd71 Added ../CommonAssemblyInfo.cs so that the assembly gets the right version (and is strong named when doing a strong name build). 2008-11-19 06:06:00 +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 abdba87542 - Moved common assembly attributes to single file (CommonAssemblyInfo.cs).
- Added IKVM.Runtime.JNI project to Visual Studio solution.
- Added atomic.cs to Visual Studio projects.
- Added SecurityCritical and AllowPartiallyTrustedCallers attributes to IKVM.Runtime.dll.
2008-01-03 09:45:49 +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 7ca97a7541 More .NET 1.1 -> 2.0 work. 2007-11-26 11:01:29 +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 ba7a5a69bd - Removed Visual Studio 2003 solution/project files.
- Added Visual Studio 2008 solution.
2007-11-21 07:15:42 +00:00
jfrijters 8a79587e64 Updated version numbers to 0.37. 2007-10-22 15:45:52 +00:00
jfrijters 5213872488 Handle ZipException when creating an empty zip file. 2007-09-10 06:11:27 +00:00
jfrijters 902cd58a62 Renamed IKVM.Hybrid.GNU.Classpath.OpenJDK.dll to IKVM.OpenJDK.ClassLibrary.dll and made OpenJDK build the default. 2007-08-22 11:51:14 +00:00
jfrijters e710375809 Switched Visual Studio project to hybrid build. 2007-06-22 07:00:56 +00:00
jfrijters e6f8bd11a8 Added -serialver option to set the ikvm.stubgen.serialver system property. 2007-06-14 06:38:49 +00:00
jfrijters 595e22437e Integrated GNU Classpath / OpenJDK hybrid build. 2007-05-24 12:17:38 +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 321b67182e Updated version numbers. 2007-04-09 08:32:48 +00:00
jfrijters d82d8031f6 Changed ikvmstub to use java.util.zip instead of SharpZipLib. 2007-03-30 05:47:46 +00:00
jfrijters 96507f1100 New Visual Studio 2005 solution and project files. 2007-03-29 09:21:09 +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