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

432 Коммитов

Автор SHA1 Сообщение Дата
jfrijters baf6228d28 Removed our version of System.Runtime.CompilerServices.ExtensionAttribute and instead add System.Core.jar to the compilation, this will allow us to reference the real ExtensionAttribute when it is available and yet the build will still work (albeit with a warning and without the ExtensionAttribute) when it is not available (i.e. when building on .NET 2.0). 2008-11-18 05:35:58 +00:00
jfrijters b34cc1414c Removed files that are no longer needed no that GNU Classpath support has been dropped. 2008-08-06 12:51:07 +00:00
jfrijters 9baab31e8c Converted tabs to spaces. 2008-06-11 09:04:56 +00:00
jfrijters 909d78b0f7 - Renamed ClassLoader.NIL_CLASSLOADER to ClassLoader.DUMMY.
- Removed unused ClassLoader.registerNatives().
- Removed unnecessary field initializers in ClassLoader.
- Moved necessary field initializers in ClassLoader to constructor.
- Changed Thread to make use of ClassLoader.DUMMY, instead of having an extra field to keep track of contextClassLoader status.
2008-06-04 05:12:46 +00:00
jfrijters 90168fabfc Removed dependency on constructor having run, to protect against finalizer attacks. 2008-06-02 04:15:44 +00:00
jfrijters 8c73f6947e Added optimization to omit callerid nested type inside core library. 2008-06-02 04:04:39 +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 bb95669b58 Regenerated for .NET 2.0 version. 2008-04-24 05:57:19 +00:00
jfrijters 90caa038dd Added support for turning Java fields into .NET properties with an annotation. 2008-04-14 05:13:41 +00:00
jfrijters 2e60f0611f Set sun.nio.MaxDirectMemorySize to -1 to allow "unlimited" direct byte buffers. 2008-04-14 05:06:31 +00:00
jfrijters 41bfcaa06f - Improved java.library.path for Windows, Linux and Mac OS X.
- Added support for setting os.name and os.ver on Mac OS X.
- Try to guess os.arch based on IntPtr.Size.
2008-04-07 04:53:44 +00:00
jfrijters 97a347333c Added Mac OS X platform detection. 2008-04-07 04:27:02 +00:00
jfrijters 1b4ea1f0b4 A new helper class to contain Mono specific methods. 2008-04-07 04:26:09 +00:00
jfrijters a019b9d628 Added the proper meta annotations. 2008-03-30 05:59:10 +00:00
jfrijters c591de8029 Ripped out annotation/constant pool support that is no longer needed. 2008-03-03 08:28:22 +00:00
jfrijters 828a4de95d Replaced notion of DynamicOnly types with Fake types. Fake types are implemented as generic type instances and can have DynamicOnly methods. 2008-03-03 07:05:19 +00:00
jfrijters dab108cc67 Added new utility class to enumerate maps. 2008-02-18 07:59:51 +00:00
jfrijters b5c5f18679 - Added support for defining extension methods in the core class library assembly (without taking a System.Core.dll dependency).
- Added the first two extension methods.
2008-02-10 11:20:52 +00:00
jfrijters 6bb8fa27d1 - Regenerated mscorlib.jar for .NET 2.0
- Updated FileChannelImpl to use SafeFileHandle and GC.Add|RemoveMemoryPressure
- Added GC.KeepAlive to "native" methods of MappedByteBuffer
2007-11-26 12:51:21 +00:00
jfrijters 8a2fd17b8e Made to compile again with Classpath cvs. 2007-11-14 08:48:23 +00:00
jfrijters 96094d6cee Made AssemblyClassLoader public and moved it to ikvm.runtime package. 2007-10-25 12:56:18 +00:00
jfrijters 191dbcb00e Make "classpath" build target build again. 2007-10-24 04:24:12 +00:00
jfrijters 895ad8516d Implemented two custom assembly class loaders. 2007-10-22 08:09:19 +00:00
jfrijters 2628d5ab4b Changed AssemblyClassLoader to be useable as a delegation parent for custom assembly class loaders. 2007-10-22 05:13:08 +00:00
jfrijters f3cdf14db2 Fixed URL.equals() for "ikvmres:" urls. 2007-10-18 05:53:28 +00:00
jfrijters f987aad795 Fixed handling of methods that don't have a DeclaringType. 2007-10-01 10:46:30 +00:00
jfrijters 26af678899 Use Enum.valueOf() instead of reflection to get enum value. Reflection would fail if enum wasn't public. 2007-09-10 06:13:10 +00:00
jfrijters c0533934bc Only seal packages that are sealed in the manifest. 2007-09-07 13:11:49 +00:00
jfrijters fa2950fd18 Regenerated (to get StructLayoutAttribute.Annotation). 2007-08-21 07:22:58 +00:00
jfrijters 14c840cfbd Refactored system properties initialization. 2007-08-16 14:04:59 +00:00
jfrijters 4d28e15c3e Changed ikvmres protocol handler to be compatible with both GNU Classpath and OpenJDK url parse exception throwing convention. 2007-08-15 14:01:23 +00:00
jfrijters a35c6d89ba Added "native" method that I introduced in AtomicBoolean. 2007-08-09 07:09:13 +00:00
jfrijters 20235b06e8 Changed AtomicBoolean.value field to int to be serialization compatible with JDK. 2007-08-08 09:23:07 +00:00
jfrijters 2b50089bcc - Added WINDOWS constant to ikvm.internal.Util to check if we're running on Windows.
- Added a bunch of native methods to openjdk.cs (some real implementations, some stubs)
- Added OpenJDK derived PlainSocketImpl/SocketInputStream/SocketOutputStream implementations.
- Added OpenJDK derived file protocol handler (a single class that supports both Windows and non-Windows)
2007-07-12 08:40:32 +00:00
jfrijters 9de8f80b31 - Added workaround for .NET 1.1 reflection bug (methods that explicitly override a method are returned twice)
- Removed duplicate method workaround from stub generator.
2007-07-04 12:19:49 +00:00
jfrijters fef5a8394d Updated to compile with Classpath HEAD again. 2007-07-03 06:34:54 +00:00
jfrijters 422436961b Fix to make sure that if there is only system code on the stack, the resulting AccessControlContext isn't empty. 2007-07-02 14:12:56 +00:00
jfrijters 6def6adebc *** empty log message *** 2007-06-21 06:39:00 +00:00
jfrijters 5502c68773 Disambiguate CodeSource constructor invocation. 2007-06-19 10:21:17 +00:00
jfrijters 5ce13f3b9d Integrated OpenJDK's java.io.FileDescriptor, FileInputStream, FileOutputStream & RandomAccessFile. 2007-06-18 09:16:19 +00:00
jfrijters 1aebb753ea More bootstrap issues. 2007-06-18 09:14:59 +00:00
jfrijters 9673d4db41 Simplified the available() fix. 2007-06-15 08:40:01 +00:00
jfrijters d2c9597e11 Removed NormalizerDataReader specific workaround and fixed InputStreamWrapper in a more generic way. 2007-06-15 06:47:03 +00:00
jfrijters 70a1c1e4f7 - Added system property to control whether serialVersionUID is included or not and syntesize serialVersionUID for Serializable classes that don't have the field.
- Removed unnecessary getOwerType() check.
2007-06-14 06:35:40 +00:00
jfrijters eb23eacd45 - Integrated OpenJDK's java.lang.System and friends.
- Fixed a couple of OpenJDK Thread issues.
2007-06-09 08:33:09 +00:00
jfrijters e96aab2872 Changed to use public StackTraceElement constructor instead of GNU Classpath specific one. 2007-06-01 14:03:54 +00:00
jfrijters aa8f2a1d46 Added tweak to exception stack trace filtering to handle x64 tail call optimization. 2007-06-01 13:54:01 +00:00
jfrijters ffa2501472 Fixed exception mapping memory leak. 2007-05-31 07:04:47 +00:00
jfrijters 43b7e4a70f Integrated OpenJDK's java.lang.reflect.* classes (except for Array). 2007-05-29 16:27:08 +00:00
jfrijters cae14c9023 Restructured to allow openjdk.cs to reuse the annotation encoding. 2007-05-23 12:44:38 +00:00