jfrijters
5bdad92ef3
If a generic type contains generic parameters (that haven't been bound), FullName and AssemblyQualifiedName should return null.
2010-02-09 05:42:05 +00:00
jfrijters
20a15e3ac1
DllImportAttribute implies MethodAttributes.PinvokeImpl.
2010-02-09 05:27:51 +00:00
jfrijters
56843c6602
Bug fix in BindTypeParameters(). It forgot to copy subsequent args entries that weren't affected by the bind.
2010-02-09 05:20:01 +00:00
jfrijters
3043c4ac13
Override GetGenericTypeDefinition(), because it is legal to call that on a TypeDef.
2010-02-09 05:18:41 +00:00
jfrijters
d4253e6a70
Fix NPE. Don't try to iterator over otherMethods if it is null.
2010-02-09 05:17:58 +00:00
jfrijters
a43454be81
Support for mcs specific AssemblyBuilderAccess flag (0x800 aka COMPILER_ACCESS) to allow access to members of unbaked TypeBuilders.
2010-02-04 11:18:07 +00:00
jfrijters
9ef3188439
Generic methods and methods on generic type instance fixes.
2010-02-04 10:49:24 +00:00
jfrijters
d75b3d792e
Implemented __GetDeclaredFields(), __GetDeclaredEvents() and __GetDeclaredProperties() on TypeBuilder.
2010-02-04 09:59:42 +00:00
jfrijters
d6ba34ecb6
Removed accidentally checked in test code.
2010-02-04 09:58:46 +00:00
jfrijters
3ea0443e5c
Use Util.Copy() instead of cloning the array, because we want to return a Type[] not a GenericTypeParameterBuilder[].
2010-02-04 09:49:04 +00:00
jfrijters
71ab42d7eb
MethodBuilder should implement GetGenericMethodArgument() and GetGenericMethodArgumentCount(), to allow type parameter binding to work (even though it is a no-op).
2010-02-04 09:46:18 +00:00
jfrijters
c8e3b59abb
Avoid Clone(), because we want to return a Type[], not an array of some subtype of Type.
2010-02-04 09:40:05 +00:00
jfrijters
7568ab4c6a
FindMembers() may be called with a null filter.
2010-02-04 09:38:52 +00:00
jfrijters
9ddff837c5
- Moved thread dump code from Thread.java to openjdk.cs.
...
- Changed thread dump code to write to System.Console.Out, instead of java.lang.System.out.
- Changed formatting slightly and added some info to make it more like the JDK output.
2010-02-04 05:08:55 +00:00
jfrijters
2ee02c9f0c
Added optimization to avoid explicit <clinit> trigger when it isn't necessary.
2010-02-03 15:28:06 +00:00
jfrijters
457c3289e8
Simplified StrongNameKey handling and added command line argument validation to ikvmc -key: and -keyfile: options.
2010-02-03 15:12:58 +00:00
jfrijters
3ff562c468
Workaround for issue when probe location is on DEVPATH.
2010-02-03 15:09:18 +00:00
jfrijters
3098014dc4
Forgot to cache the classLoader. Thanks to Mainsoft for this fix.
2010-02-03 15:00:55 +00:00
jfrijters
8fa9aea6b0
Frame doesn't need to be unsafe anymore.
2010-02-03 14:31:39 +00:00
smallsql
725e68ccf6
use CriticalFinalizerObject for the case of AppDomain unloading
2010-02-01 19:48:00 +00:00
smallsql
28b2619037
Move init of CTRL-BREAK from System to Startup. It should be init if a Java application run and not if a library is linked.
2010-01-31 14:08:26 +00:00
smallsql
ab38ca8fa7
Change the method dumpAllStacks() from hide to internal
2010-01-31 13:13:30 +00:00
smallsql
edafe5964b
implements the signal handler for windows
2010-01-30 15:54:38 +00:00
smallsql
071cda53f0
Register the default signal handler for BREAK
2010-01-30 15:50:35 +00:00
smallsql
9902d81941
Add a method for dumping all stacktraces to the console.
2010-01-30 15:49:05 +00:00
jfrijters
b1190ba610
Removed unused field.
2010-01-29 07:09:12 +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
b7a691f5de
- Moved ClassLoaderWrapper.IsVector() and TypeWrapper.IsReflectionOnly() to ReflectUtil.
...
- Fixed IsReflectionOnly() to handle more complicated constructed types.
- Optimized IsDynamic() to use a delegate to call get_IsDynamic when running on .NET 4.0
- Optimized IsVector() to use __IsVector when IKVM.Reflection is used.
2010-01-29 06:58:10 +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
b4ad331f48
Removed "constant" instance field support (which was only used by ikvmstub and doesn't make any sense anyway).
2010-01-28 08:44:57 +00:00
jfrijters
19be487fe0
Removed pre-generated stub jars from cvs and modified build process to generate them during the build.
2010-01-28 08:06:56 +00:00
jfrijters
e5bea7a81b
Removed support for "ikvm.stubgen.serialver" property that is no longer needed now that ikvmstub doesn't use the runtime to generate stubs.
2010-01-28 08:05: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
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
f01904d51a
More preparations for new stub generator.
...
- When compiling ikvmstub, do type comparisons by name only.
- Replace two cases of typeof() with references to Types fields.
- Added RemappedClassAttribute and RemappedTypeAttribute constructors that explicitly take System.Type (when compiling ikvmstub)
- Avoid unnecessary reference to System.Configuration.dll in tracer.cs (when compiling ikvmstub).
2010-01-28 07:10:31 +00:00
jfrijters
0cca1b39d8
Expose custom attribute annotation properties for use by new stub generator.
2010-01-28 06:52:51 +00:00
jfrijters
9dc2df605a
Moved non-throwing signature parsing from ClassFile.cs to ClassLoaderWrapper.cs (and merged it with the throwing variant). This avoids new stub generator having to include ClassFile.cs.
2010-01-28 06:37:48 +00:00
jfrijters
55cd844b5a
Moved StringConstants from ClassFile.cs to TypeWrapper.cs, to avoid new stub generator (to be checked in later) to have to include ClassFile.cs
2010-01-28 06:24:13 +00:00
jfrijters
05180f101b
Moved VerifierTypeWrapper from verifier.cs to TypeWrapper.cs, to avoid new stub generator (to be checked in later) to have to include verifier.cs
...
(also made VerifierTypeWrapper sealed)
2010-01-28 06:09:20 +00:00
jfrijters
5895cfea86
Moved CodeGenOptions from DynamicClassLoader.cs to ClassLoaderWrapper.cs, to avoid new stub generator (to be checked in later) to have to include DynamicClassLoader.cs
2010-01-28 06:06:37 +00:00
jfrijters
7eb8c80322
The synthetic atomic update helper nested types should not be visible from Java, so they should have a name starting with "__<".
2010-01-27 09:03:32 +00:00
jfrijters
47655ecdb9
RemappedClassAttribute should have AllowMultiple = true.
2010-01-27 08:59:17 +00:00
jfrijters
a68a03ef92
The "base final" methods in remapped types should never be abstract.
2010-01-27 08:58:31 +00:00
jfrijters
87fdcdd640
Updated copyright year.
2010-01-27 08:57:59 +00:00
jfrijters
0050b15595
Several IKVM.Reflection fixes related to generics.
...
- MethodImpls in generic type definitions should be resolved with typeArgs as context.
- Cleaned up member on generic type rebinding.
- Fixed __GetDeclaredProperties and __GetDeclaredEvents to rebind properly.
2010-01-27 06:12:36 +00:00
jfrijters
dbd6df02ae
Integrated new IKVM.Reflection implementation.
2010-01-25 07:52:27 +00:00
jfrijters
0b30be9d2c
Removed UTF-8 byte order marks.
2010-01-25 05:49:01 +00:00
jfrijters
198c9d70ea
New IKVM.Reflection implementation.
2010-01-25 05:29:31 +00:00