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

2212 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 76f65a98fb Individual types/methods have been annotated, so assembly can be transparent now. 2010-06-09 06:09:49 +00:00
jfrijters 657f7c49ce JNIEnv.DescribeException() was broken (NPE instead of printing the exception). 2010-06-09 04:58:21 +00:00
jfrijters 23862ca0c5 Report FileFormatLimitationExceededException as a simple compiler error, not as a critical failure. 2010-06-09 04:55:52 +00:00
jfrijters 6a205a316d Fix. When the user string heap overflows, throw an exception instead of silently creating corrupt image. 2010-06-09 04:50:02 +00:00
jfrijters e8e6bf24d6 Disable automagic serialization when running on .NET 4.0 in partial trust. 2010-06-08 12:48:36 +00:00
jfrijters 32d5017b91 More .NET 4.0 security model attributes. 2010-06-08 12:47:51 +00:00
jfrijters 19bfff7c2d When running on .NET 4.0, make the emitted assembly security transparent when running in partial trust. 2010-06-08 12:45:58 +00:00
jfrijters 507be98ae6 Disable RunAndCollect when running in partial trust. 2010-06-08 12:45:06 +00:00
jfrijters 379219e2c0 More .NET 4.0 security model attributes. 2010-06-08 12:26:56 +00:00
jfrijters 3b00f0c41c .NET 4.0 security model fix. 2010-06-08 12:25:23 +00:00
jfrijters 014c0d6bac In partial trust, constructing the serialization constructor accessor can fail with a SecurityException. We convert that into a java.lang.SecurityException because the Java code handles that. 2010-06-08 12:23:22 +00:00
jfrijters 70df9bc2e9 On .NET 4.0 the NoInlining flag also prevents tail calls, so we don't need tail call thwarting there. 2010-06-08 12:08:30 +00:00
jfrijters dd2f1b550d Fixed .PDB emitter to work with .NET 4.0. Thanks to Jb Evain for the heads up on this. 2010-06-08 11:30:48 +00:00
jfrijters 972cee12df New development snapshot version. 2010-06-08 06:19:40 +00:00
jfrijters bb6abdf18a Updated base adresses. 2010-06-08 05:56:01 +00:00
jfrijters 0ed13314f0 Implemented codegen improvement to use CLR fault handlers for Java catch all handlers, whenever possible. 2010-06-08 05:25:14 +00:00
jfrijters 3ca0627114 Since we're no longer modifying the instructions, there's no reason to pass it around instead of using it directly from the Method object. 2010-06-08 04:15:39 +00:00
jfrijters 311379f2ce Made ExceptionTableEntry completely immutable by making ordinal readonly as well. 2010-06-07 12:36:49 +00:00
jfrijters 03361a778a Made ExceptionTableEntry mostly immutable (ordinal will be next). 2010-06-07 10:05:28 +00:00
jfrijters 7dfb0107c4 Removed mutable flags field from Instruction. 2010-06-07 06:13:05 +00:00
jfrijters 1b8b220d6e Use external InstructionFlags array, instead of modifying the Instruction values. 2010-06-07 05:22:34 +00:00
jfrijters 4fbcaf733a Use local variable 'code' instead of m.Instructions. 2010-06-07 04:30:20 +00:00
jfrijters aa80cfdecf TypeWrapper.AssertFinished() doesn't make sense for the static compiler anymore. 2010-06-07 04:21:35 +00:00
jfrijters b172d2c9f7 Order try blocks inside handlers before the entries for that handler. Workaround for CLR x86 JIT null pointer dereference bug. 2010-06-07 04:13:49 +00:00
jfrijters 5aa5c27cd0 Use a LinkedHashMap to preserve annotation order (but only in dynamic mode, because for compiled code we get the .NET attributes in unspecified order). By my reading of the API spec there is no guarantee about the ordering, but the Google Guice test suite depends on it anyway. 2010-06-04 13:38:45 +00:00
jfrijters 0e42ec9e72 Make synthesized .class resources available via getResources (note the plural) as well. 2010-06-03 14:28:50 +00:00
jfrijters 7a55f7c03c Moved type flow and optimization passes into separate methods. 2010-06-02 12:38:15 +00:00
jfrijters f9bb92b3f2 Fixed theoretical issue in RemoveAssertions optimization. 2010-06-02 12:29:16 +00:00
jfrijters 9752893b47 Split analysis steps into separate methods. 2010-06-02 10:31:58 +00:00
jfrijters 9004a9f65a Add forgotten HideFromJava to ExceptionInfoHelper constructor that collects stack trace. 2010-06-02 10:15:53 +00:00
jfrijters 4126779d1b Made the "unnecessary" exception handler removal a little less conservative. 2010-06-02 07:43:51 +00:00
jfrijters 393dc88577 Moved exception untangling code into MethodAnalyzer where it makes more sense. 2010-06-02 06:37:35 +00:00
jfrijters f3106c0868 Fixed loop counter integer overflow. Bug #3009543. 2010-06-01 04:09:48 +00:00
jfrijters 6d3632f144 Removed unused code. 2010-05-31 09:33:28 +00:00
jfrijters a6922fa16a New snapshot version. 2010-05-31 09:32:40 +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 64563f9af9 Removed unused field. 2010-05-30 06:20:26 +00:00
jfrijters 53021cbad9 Made constructor security critical, instead of the type to avoid problem with .NET 4.0 verifier complaining about IKVM.Runtime.dll built for .NET 2.0 2010-05-29 13:59:27 +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 96794bab50 Tiny optimization. Don't examine the same frame twice. 2010-05-28 11:06:06 +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 0f1a9fbcaa Fix FIRST_PASS build break. 2010-05-28 10:22:04 +00:00
jfrijters f6a7da207d Minor clean up. 2010-05-28 05:48:35 +00:00
jfrijters 82730f124b - More filtering regression fixes.
- Synchronize on SyncRoot for Exception.Data collection access.
2010-05-28 05:36:03 +00:00
jfrijters 9085b75ad8 More clean up and added HideFromJava to two more Map methods. 2010-05-28 05:18:12 +00:00
jfrijters 85b418c2e9 - Util.mapException() shouldn't be HideFromJava as that would be a breaking change, and were explicitly filtering it from the stack trace anyway.
- Minor ExceptionHelper clean up.
2010-05-28 04:23:58 +00:00
jfrijters b242c1026b Moved ExceptionHelper into proper namespace and some cleanup. 2010-05-27 16:07:56 +00:00
jfrijters 2cbe4b732b Moved the last part of ExceptionHelper from Java to C# side. 2010-05-27 15:24:29 +00:00