jfrijters
3c0a730167
Added ikvmstub -parameters option to add parameter names to stub classes.
2013-08-12 09:02:13 +00:00
jfrijters
4bf1c0dca4
Removed the old Java stub class generator and replaced it with the ikvmstub core.
2013-02-21 16:56:08 +00:00
jfrijters
8c2bfcd0e3
Stop abusing ikvm.runtime.AssemblyClassLoader as a class loader for generic types.
2013-02-21 07:00:37 +00:00
jfrijters
1434e9e70c
Made TypeWrapper.IsInternal a readonly property.
2013-02-06 19:31:10 +00:00
jfrijters
a9356752fd
Changed build infrastructure to support targetting .NET 4.0 on systems where 4.5 is installed.
2012-12-12 09:00:17 +00:00
jfrijters
232094eb92
Deprecated the ikvmstub -serialver option and added a -japi option instead that also adds non-public interfaces and members. Also added a hack to fix the fact that String instance methods were all marked as deprecated.
2012-07-07 08:33:01 +00:00
jfrijters
22b58b98eb
Lots of ikvmc error handling clean up.
2012-03-23 16:45:41 +00:00
jfrijters
c761c2894a
Changed ikvmstub to use missing assemblies when a dependency is not found and only complain about it when it is actually needed.
2012-03-22 09:27:51 +00:00
jfrijters
da32b9ddb8
Made base TypeWrapper resolution lazy for compiled and .NET TypeWrappers. This is not just a perf improvement, but also avoid infinite recursion for generic type instantiations that use sub types as type parameters.
2012-01-03 14:26:36 +00:00
jfrijters
b8a9511680
- Removed BaseTypeWrapper.Finish() call from DotNetTypeWrapper.LazyPublishMembers(), because it is the wrong place to call Finish.
...
- Added explicit Link() calls where necessary.
2011-12-14 09:46:55 +00:00
jfrijters
87a7ff35fa
Added ikvmstub -forwarders option to support ".NET Core profile" assemblies.
2011-10-11 08:02:25 +00:00
jfrijters
2337a202f2
Implemented support for annotation defaults.
2011-09-06 14:03:15 +00:00
jfrijters
936bcbc8a2
Bug fix. Exceptions declared with ThrowsAttribute(Type) (in .NET code) did not get exported properly.
2011-08-17 07:34:16 +00:00
jfrijters
fcb15551b8
Handle TypeLoadException in the same way as other exceptions (return failure and only continue when continueOrError option is used).
2011-08-09 14:48:31 +00:00
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