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

3268 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 8189b65284 Added ManifestResourceInfo.__Offset property. 2012-01-09 09:11:07 +00:00
jfrijters 4f689b1fed Added Module.__FileAlignment property. 2012-01-05 14:05:25 +00:00
jfrijters 452433f1f8 Removed method name mangling and depend on custom modifiers instead. 2012-01-05 09:03:52 +00:00
jfrijters 3ec55371f8 Updated copyright year. 2012-01-05 08:55:04 +00:00
jfrijters 96a548747b Updated for JDK 7. 2012-01-05 07:58:08 +00:00
jfrijters 9b557f8e95 Add modopt custom modifiers for methods (that need it). 2012-01-04 12:32:53 +00:00
jfrijters 1e43a4f9cf EmitCallerIDStub doesn't need support for handling "special" parameter types. 2012-01-04 10:45:56 +00:00
jfrijters f0a647635a GenerateOverrideStub should use GetDefineMethodHelper(). 2012-01-04 10:23:47 +00:00
jfrijters 7ad7bb1858 Removed hack that fixed infinite recursion for generic types that use sub type as type parameter. Now that we lazily resolve the base TypeWrapper it is no longer needed. 2012-01-03 14:27:39 +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 0a18471be3 Bug fix. When constructing a generic class loader we can't use GetWrapperFromType() on the type arguments, because they might refer to a subtype that is currently being loaded. 2012-01-02 15:11:09 +00:00
jfrijters 003c8edc50 Bug fix. Fixed copy/paste error. FieldInfo.IsAssembly should test for FieldAttributes.Assembly access, not FieldAttributes.Family. 2011-12-31 09:20:15 +00:00
jfrijters 82bc0768e3 Handle Main-Class manifest value that spans multiple lines. Fix for bug #3461012. 2011-12-17 07:54:55 +00:00
jfrijters c4f685f776 Corrected comment. 2011-12-15 14:51:15 +00:00
jfrijters 42d3fe601a Removed obsolete comment. 2011-12-15 14:43:08 +00:00
jfrijters 8dc0ea6852 It turns out there's really no good reason why custom attributes should be serializable (and for example many in mscorlib aren't). 2011-12-15 14:39:43 +00:00
jfrijters 04b660834b - Fixed regression introduced by earlier change. Type names should be unescaped.
- Suppress annotation custom attributes when enumerating inner classes.
2011-12-15 11:54:58 +00:00
jfrijters 90dc07b05f Fix name length for inner classes. 2011-12-15 11:53:33 +00:00
jfrijters fb2beb9ed8 Bug fix. Don't call Finish on unloadable TypeWrapper. 2011-12-15 09:20:18 +00:00
jfrijters 7bb7d9886f Removed class name length limitation. 2011-12-15 08:56:10 +00:00
jfrijters 848311cad9 Removed circular dependency hack for delegate types that isn't required anymore with the new CreateStep2 compilation pass. 2011-12-14 12:10:00 +00:00
jfrijters 531f688a16 Introduced an intermediate compilation pass for CreateStep2 to enable a class to extend a class nested inside itself. 2011-12-14 12:06:52 +00:00
jfrijters 0425cd4c9f Delay setting the TypeBuilder parent until Finish stage. 2011-12-14 11:52:02 +00:00
jfrijters bce5b56b33 Renamed CreateStep2NoFail to CreateStep2, because while it shouldn't fail, CreateStep1 also shouldn't fail. Removed unused return value from CreateStep2(). 2011-12-14 11:18:12 +00:00
jfrijters b58674641d Make AllocMangledName register the wrapper directly, because there is no reason to do that later. 2011-12-14 11:12:50 +00:00
jfrijters 536cd25718 Fix regression introduced in previous commit. Finish() should link the members now that we have introduced methods that are not pre-linked. 2011-12-14 10:29:14 +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 2a62a767ca Split compilation into two passes. 2011-12-14 09:04:57 +00:00
jfrijters c97b31684a Removed unused java.lang.annotation.Annotation TypeWrapper. 2011-12-14 08:26:39 +00:00
jfrijters da330e3744 Use RemapperTypeWrapper instead of TypeWrapper where appropriate. 2011-12-14 07:56:53 +00:00
jfrijters dfc2a7e47d Include copyright and metadata in IKVM.OpenJDK.Tools.dll. Part of patch #3458997. 2011-12-13 16:21:06 +00:00
jfrijters de08b2c132 Added AssemblyInformationalVersionAttribute to OpenJDK assemblies (to set the "Product Version"). Part of patch #3458997. 2011-12-13 16:17:43 +00:00
jfrijters 5c14302763 Removed parameters from CreateStep1 and CreateStep2NoFail. 2011-12-13 10:39:46 +00:00
jfrijters 8d8a11a882 Removed some unnecessary downcasts. 2011-12-13 08:43:28 +00:00
jfrijters 933bdf2f97 Removed last remaining TypeAsBuilder usage. 2011-12-13 07:34:50 +00:00
jfrijters fe7c453a90 Removed unneeded TypeAsBuilder. 2011-12-12 14:38:38 +00:00
jfrijters 2be1d4b70b Removed another TypeAsBuilder usage. 2011-12-12 13:43:11 +00:00
jfrijters 61592db32d We should not call SetCustomAttribute after the type has been created (even though it works with IKVM.Reflection). 2011-12-12 13:29:02 +00:00
jfrijters 35d272c9a6 More TypeAsBuiler usage removed. 2011-12-12 12:43:22 +00:00
jfrijters d6dc2d7256 Removed TypeAsBuilder usage from method handle code. 2011-12-12 11:21:29 +00:00
jfrijters 063a9f470f Removed usage of TypeAsBuilder from automagic serialization generation code. 2011-12-12 11:13:33 +00:00
jfrijters 0e5454a52e Merge GenerateMethod() into LinkMethod(). 2011-12-12 11:02:24 +00:00
jfrijters 13b3c852d7 Moved synchronized handling to more appropriate place. 2011-12-12 10:59:00 +00:00
jfrijters 003268d9ee Special case DelegateConstructorMethodWrapper in LinkMethod instead of overriding DoLinkMethod. 2011-12-12 10:49:42 +00:00
jfrijters ac2d14a082 Moved indy call site state into FinishContext. 2011-12-12 09:57:23 +00:00
jfrijters 387c7b17f6 Removed duplication of keeping track of AnnotationBuilder and moved enum nested type to AotTypeWrapper as well. 2011-12-11 10:43:17 +00:00
jfrijters b7530d8109 Removed RegisterPostFinishProc from FinishContext. 2011-12-11 08:16:25 +00:00
jfrijters 45b79a4526 Removed all but one users of RegisterPostFinishProc hack. 2011-12-09 16:32:34 +00:00
jfrijters 140b448b5c Moved AtomicReferenceFieldUpdater creation into FinishContext, to be able to better keep track of the types and avoid the global dictionary. 2011-12-09 15:59:35 +00:00
jfrijters a86ccf30d5 Moved DefineThreadLocalType() into FinishContext because that way it better encapsulates the behavior. 2011-12-09 15:26:57 +00:00