jfrijters
05d9e5facb
Removed unused method.
2010-02-26 09:23:21 +00:00
jfrijters
e3275b3917
Added workaround for the fact that Mono doesn't set the HasThis flag on property signatures.
2010-02-25 10:46:29 +00:00
jfrijters
0d65f18b33
Check Sorted flags only for the tables we really require to be sorted (currently only GenericParam).
2010-02-25 10:37:56 +00:00
jfrijters
1b40af728d
Throw exception if the member cannot be resolved.
2010-02-25 10:36:45 +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
6d5d5be5c9
Removed ../../openjdk6-b16 path from tools response file.
2010-02-19 14:38:41 +00:00
jfrijters
aa8481692f
Removed ../../openjdk6-b16 path from response files.
2010-02-19 14:31:14 +00:00
jfrijters
90761eac3b
Fix for bug #2946842 .
2010-02-19 08:07:37 +00:00
jfrijters
0751ab4d76
Intrinsified ThreadLocal (under specific circumstances).
2010-02-11 10:36:01 +00:00
jfrijters
ff779a78f7
Introduced a base class for intrisified AtomitcReferenceFieldUpdaters. This reduces the size of the generates classes somewhat and allows for a public type to represent all intrinsified instances (instead of the HideFromJava nested type).
2010-02-11 10:20:24 +00:00
jfrijters
ab73c7385e
When an object is an instance of a HideFromJava type, hide that type and traverse up the type hierarchy to find the first non-HideFromJava non-abstract type.
2010-02-11 10:00:16 +00:00
jfrijters
afe41d743d
Made the IsHideFromJava(Type) test more consistent.
2010-02-11 09:59:12 +00:00
jfrijters
0047f376d8
It's illegal to call IsInterface on an Unloadable type, so we have to check that first.
2010-02-11 09:54:12 +00:00
jfrijters
ff60212cd6
Ignore SecurityException when trying to register Ctrl-Break handler.
2010-02-11 09:50:26 +00:00
jfrijters
bbdd948ff0
Added hack to automatically load OpenJDK assemblies from the same location as OpenJDK.Core (when a non-default OpenJDK.Core assembly is specified).
2010-02-10 16:31:48 +00:00
jfrijters
d1ec841c86
Fixed regression introduced with == operator in MemberInfo.
2010-02-09 14:34:05 +00:00
jfrijters
48f48cfa71
Added == and != operators and implemented Equals/GetHashCode.
2010-02-09 07:58:14 +00:00
jfrijters
860e0a148e
Added == and != operators to MemberInfo to mask the fact that we don't implement reference identity for various members (most notably the constructor wrappers, generic wrappers and events and properties).
...
Changed Type.Equals() to avoid infinite recursion, now that we overload the == operator.
2010-02-09 07:57:49 +00:00
jfrijters
855cc893ee
Generic property and event wrappers should also override Equals/GetHashCode.
2010-02-09 07:54:54 +00:00
jfrijters
5b23e76b83
Since we don't cache PropertyInfoImpls and EventInfoImpls, they should at least override Equals/GetHashCode to do by value equality.
2010-02-09 07:53:28 +00:00
jfrijters
5b29dc53dc
Implemented GenericTypeParameterBuilder.GenericParameterAttributes.
2010-02-09 07:50:07 +00:00
jfrijters
9c79131ad4
Implemented GenericTypeParameterBuilder.BaseType.
2010-02-09 07:45:28 +00:00
jfrijters
3c281cb431
Renamed GenericTypeParameterBuilder.token to typeToken, to more clearly distinguish it from paramToken.
2010-02-09 07:30:47 +00:00
jfrijters
66678bca19
Moved common metadata table record adding code to GenericTypeParameterBuilder constructor and did some other GenericTypeParameterBuilder clean up.
2010-02-09 07:29:25 +00:00
jfrijters
df193e6f4d
Removed some no longer needed remnants from when we had multiple generic ParameterInfo wrapper implementations.
2010-02-09 07:22:40 +00:00
jfrijters
42f8158fe1
Implemented __GetDeclaredInterfaces() on TypeBuilder (and hence baked types).
2010-02-09 05:54:08 +00:00
jfrijters
26b049d654
TypeBuilder.Namespace shouldn't return null.
2010-02-09 05:50:05 +00:00
jfrijters
8dc763b6ec
Bug fix.
2010-02-09 05:43:43 +00:00
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