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

62 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 90a67766bc When instantiating a delegate and the object passed in does not properly implement the delegate's Method interface, bind the delegate to an error stub that throws the appropriate error. 2012-01-20 14:02:23 +00:00
jfrijters d73de8d73b Bug fix. If the bootstrap method throws an exception and the call signature has a non-void return type, we didn't generate the proper exception throwing stub. 2011-08-26 08:56:25 +00:00
jfrijters a9f1e7879a Implemented invokedynamic instruction. 2011-08-15 16:11:00 +00:00
jfrijters d7c359c0a3 Added support for MethodHandle constants (ldc <MethodHandle>). 2011-08-12 13:06:46 +00:00
jfrijters 7786fc87b8 Added support for MethodType constants (ldc <MethodType>). 2011-08-10 10:12:10 +00:00
jfrijters f0adfd7257 Implemented full arity support for MethodHandle. 2011-08-08 04:56:16 +00:00
jfrijters 86206ec0f9 Fixed varargs support for invoke. 2011-08-07 05:41:34 +00:00
jfrijters a82c5af244 Fixed MethodHandle.invoke() caching. We were caching the instance, instead of just the type. 2011-08-06 19:51:17 +00:00
jfrijters 6e7b8693fd Implemented a large chunk of MethodHandle support. 2011-08-06 11:00:10 +00:00
jfrijters 9b6c88e868 Merge in java.lang.invoke package and the beginnings of MethodHandle support. 2011-07-25 23:11:09 +00:00
jfrijters e27bc7677b Dynamic* instructions should throw NoClassDefFoundError before NullPointerException. 2010-08-03 13:41:38 +00:00
jfrijters 969cd0f5ea Made MapException generic, instead of passing the type explicitly. 2010-05-31 05:58:37 +00:00
jfrijters 7a4ce163e6 Fixed regression in dynamic exception handling and made it simpler. 2010-05-31 05:08:57 +00:00
jfrijters ce4dfa49da Removed exception mapping methods from Throwable and consolidated into a single method (actually, two methods, but the dynamic one should not be necessary and should be removed later). 2010-05-30 06:53:49 +00:00
jfrijters 3b953eaf24 Disable stack trace collection for remapped exceptions that are discarded in their handler. 2010-05-29 13:53:32 +00:00
jfrijters 4d867300b6 Implemented a more efficient (in terms of the MSIL size) MapException API. 2010-05-28 11:05:18 +00:00
jfrijters 16ad3d2523 Replaced incorrect usages of Type.IsArray with ReflectUtil.IsVector(). 2010-02-26 13:31:39 +00:00
jfrijters 73112679ae - Moved enum helper methods into new EnumHelper class.
- Changed .NET EnumEnum field to call ByteCodeHelper method, instead of emitting code in place.
2009-11-09 08:52:17 +00:00
jfrijters 50fda7c073 Removed micro optimization that requires full trust on .NET 4.0. 2009-11-05 07:37:46 +00:00
jfrijters 5b509c42a2 DynamicGetTypeAsExceptionType should be available during FIRST_PASS because it is used by ikvmc (if there is a configuration issue during boot class library build). 2009-11-04 05:16:32 +00:00
jfrijters f6acb0a796 Added (optional) per-module initialization to custom assembly class loaders. 2009-11-03 07:15:37 +00:00
jfrijters db9c796794 Removed vestigial compact framework support. 2009-08-28 06:47:16 +00:00
jfrijters 9b0ca3cce3 Include helpful exception message in ClassCastException generated for ghost array casts. 2009-01-06 09:47:59 +00:00
jfrijters fc6134bb84 Changed dynamic (for unloadable classes) bytecode handling to use Java reflection. 2008-08-21 06:09:33 +00:00
jfrijters 16a65985af Removed support for building with GNU Classpath class library. 2008-08-06 12:22:06 +00:00
jfrijters 379dd8bee3 - Added ghost array tagging to be able to report the instantiated class (instead of object[] which is allocated instead).
- Fixed ldc <class> where <class> is a ghost array.
- Fixed bug in instanceof <class> where <class> is a Serializable[].
2008-08-06 05:25:18 +00:00
jfrijters 5e4182edb5 - Implemented CallerID infrastructure.
- Marked various methods with HasCallerID annotation.
- Rewrote some methods to explicitly use CallerID.
2008-05-31 15:20:29 +00:00
jfrijters 29f84a8850 - added more efficient float/double to/from int/long bits converters
- made Double.doubleToRawLongBits/longBitsToDouble and Float.floatToRawIntBits/intBitsToFloat intrinsics
- generalized the intrinsics support
2008-05-09 05:57:55 +00:00
jfrijters 23413c175e Added assembly location to verbose class cast exception if the assembly fullnames matches but the locations don't. 2008-04-21 04:27:59 +00:00
jfrijters 6cd0a9e34b Restructured VM <-> Library interface to take advantage of InternalsVisibleTo to remove public methods and reflection usage. 2007-12-19 11:28:09 +00:00
jfrijters 5e0dd0f7f9 Made classes static. 2007-12-18 11:04:53 +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 c1dbd6d973 Moved "instance of" test to TypeWrapper and added support for ghost and dynamiconly type arrays. 2007-05-31 07:12:56 +00:00
jfrijters e68499a4ba Simplified VM -> Class Library interface by taking advantage of the fact that IKVM.Runtime.dll is now compiled in two passes with the second pass linking against the class library. 2007-04-23 08:24:33 +00:00
jfrijters db1e9a72bd Changed left-shift to multiply operator, as it turns out that shift operators aren't affected by "checked". 2007-04-02 08:21:14 +00:00
jfrijters 2c274405f2 *** empty log message *** 2007-01-05 08:14:18 +00:00
jfrijters 8f2adc6fc7 *** empty log message *** 2006-08-17 07:33:38 +00:00
jfrijters d51e57af66 *** empty log message *** 2006-06-08 09:26:33 +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 c526f2f69d *** empty log message *** 2005-08-25 07:46:57 +00:00
jfrijters 2e6460c6d1 *** empty log message *** 2005-08-24 11:35:00 +00:00
jfrijters d87d01437e *** empty log message *** 2005-08-24 08:14:23 +00:00
jfrijters 550604d59b *** empty log message *** 2005-06-01 09:49:30 +00:00
jfrijters 1122f942cb *** empty log message *** 2005-05-31 05:44:29 +00:00
jfrijters 5915ce9e2a *** empty log message *** 2005-05-26 06:53:50 +00:00
jfrijters 2cd22543d4 *** empty log message *** 2005-05-02 10:03:21 +00:00
jfrijters 9a62c6f197 *** empty log message *** 2005-03-14 14:29:47 +00:00
jfrijters 3d1824e144 *** empty log message *** 2005-03-11 13:56:44 +00:00
jfrijters 66240faf32 *** empty log message *** 2005-03-04 14:00:42 +00:00