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

101 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 05cbf17945 Jar meta entries are case insensitive. 2008-07-04 05:40:54 +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 b1b3f8b4f5 - Renamed CountingILGenerator to CodeEmitter.
- Renamed CountingLabel to CodeEmitterLabel.
2008-06-03 12:10:07 +00:00
jfrijters cbeeb20318 Marked all static classes as static. 2008-06-03 07:13:49 +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 018eaf5acb Restructured code to remove (mcs) compiler warnings. 2008-05-20 07:43:42 +00:00
jfrijters c4eb9596af - Use new more efficient float/double to/from int/long bits converters.
- Forward IOHelper.WriteDouble/WriteFloat to java.io.Bits to remove the need to worry about normalizing NaNs or not.
2008-05-09 05:59:59 +00:00
jfrijters 191d045da4 Fix deserialization of double arrays. 2008-05-03 19:00:32 +00:00
jfrijters 1b027efce3 Moved java.lang.Thread "native" methods to Java. 2008-04-25 04:48:57 +00:00
jfrijters ec2228d04a Moved System.nanoTime() to Java. 2008-04-24 06:22:49 +00:00
jfrijters 7d472777de Moved a couple of java.lang.System native methods to the Java side. 2008-04-23 05:24:35 +00:00
jfrijters 6a1c4cea55 Use new .NET 2.0 API to get processor count. 2008-04-23 05:22:31 +00:00
jfrijters cd2ab36b74 Refactored class library initialization. 2008-04-23 04:25:21 +00:00
jfrijters 2bbb4bc9cb Added support for filenames/paths with colons in them (on Win32) to Win32FileSystem.Canonicalize(). 2008-04-14 05:09:38 +00:00
jfrijters 7b24fc61d8 Fixed mapLibraryName to use platform detection instead of os.name property. 2008-04-07 04:30:04 +00:00
jfrijters 36593f183b Set Thread context class loader for threads started from .NET. 2008-03-14 09:17:08 +00:00
jfrijters c591de8029 Ripped out annotation/constant pool support that is no longer needed. 2008-03-03 08:28:22 +00:00
jfrijters 53321c6fe9 Changed System.nanoTime() implementation to use Stopwatch.GetTimestamp(). 2008-03-03 07:27:38 +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 68e4e912ab - Simplified annotation handling.
- Added support to Class.forName() for assembly qualified Java type names.
2008-02-29 08:03:09 +00:00
jfrijters 95ce4405cd - Forked Class, Constructor and Field.
- Made class annotation handling lazy and bypass encode/decode.
2008-02-19 16:52:53 +00:00
jfrijters 957904c9a2 Box/unbox ghost references when (de)serializing. 2008-02-09 17:34:50 +00:00
jfrijters 6fff8e1ac0 Partial Trust fixes:
- Added accessor methods for "slot" to Method & Constructor.
- Implemented System.setIn0, setOut0, setErr0 in map.xml.
- Hacked sun.misc.SharedSecrets to replace Unsafe.ensureClassInitialize() with direct calls.
- Replaced java.nio.Bits.byteOrder() with simple System.BitConver.IsLittleEndian based implementation.
- Disabled DynamicMethodSupport when running in partial trust.
- Ignore SecurityException in CanonicalizePath.
- Don't trigger load of JNI assembly when "loading" a fake system library.
2007-12-28 14:55:33 +00:00
jfrijters e2c7ceb1d5 - Moved some calls to methods with a LinkDemand (that fails in partial trust) to a separate methods.
- Added stuff to map.xml to remove the need for reflection in VM / Library bootstrap.
- Inverted IKVM.Runtime.JNI dependency in stack walking code.
2007-12-27 15:16:49 +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 160d93fc1f Made all "native" method classes internal. 2007-12-18 11:05:30 +00:00
jfrijters f9e7cd31f5 Moved JNI implementation into a separate assembly (IKVM.Runtime.JNI.dll) to make IKVM.Runtime.dll verifiable. 2007-12-18 09:56:11 +00:00
jfrijters 6df053187c Implemented support for InternalsVisibleToAttribute. 2007-12-17 10:59:02 +00:00
jfrijters a7d6edbc5a Implemented native methods of java.io.Console. 2007-12-17 07:44:59 +00:00
jfrijters d118006a7f Don't create DynamicMethod with bogus arg in signature. 2007-12-04 08:08:33 +00:00
jfrijters d6e2cf70f7 Removed more .NET 1.1 workarounds. 2007-11-26 16:00:15 +00:00
jfrijters 9e7cc69997 Oops. Changed vfs.zip path back to resource. 2007-11-26 15:20:10 +00:00
jfrijters 61ccfb3ced - Improved VFS.
- Dynamically generate "lib/security/cacerts" from .NET X509 store.
2007-11-26 15:19:08 +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 7ca97a7541 More .NET 1.1 -> 2.0 work. 2007-11-26 11:01:29 +00:00
jfrijters ab95ffee45 More .NET 1.1 -> 2.0 work. 2007-11-26 09:01:35 +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 83c6e5105d - .NET 1.1 is no longer supported
- Removed .NET 2.0 warnings (except for the "unreachable code" ones)
2007-11-26 05:50:57 +00:00
jfrijters 6e2d5abf5f Don't create the default system class loader if the main executable has a custom assembly class loader. 2007-10-25 16:49:30 +00:00
jfrijters 13fff84a96 Fixed Class.getModifiers() to mask out ACC_SUPER bit. 2007-10-22 10:25:54 +00:00
jfrijters 61bc8af572 Added support for custom assembly class loaders. 2007-10-21 07:14:53 +00:00
jfrijters 7a2ffb3019 Regression fix. When getting a static field value, we should convert the value from signature type to stack type (to make sure that non-primitive value types are boxed). 2007-10-10 05:30:04 +00:00
jfrijters 0fc40a8133 Explicitly run <clinit> when calling a static method thru reflection via a DynamicMethod, to work around the .NET 2.0 bug in DynamicMethod that causes it not to call the class constructor in this case. 2007-09-25 12:27:21 +00:00
jfrijters cd1a029440 Make sure that passed in reference arguments are of the correct type. 2007-09-25 06:12:59 +00:00
jfrijters abef13a3d9 Disabled the use of DynamicMethod when running on Mono, because as of Mono 1.2.5.1 its DynamicMethod implementation is too broken for us. 2007-09-25 04:44:28 +00:00
jfrijters d20ce68f75 Implemented optimized reflection/serialization when running on .NET 2.0 (by generating DynamicMethods instead of using .NET reflection). 2007-09-24 11:57:00 +00:00
jfrijters f89e98b7ed Implemented assertions (OpenJDK only). 2007-09-12 06:51:37 +00:00
jfrijters c932cfad42 Made method annotation resolution lazy to support annotations that annotate themselves. 2007-09-10 06:16:49 +00:00
jfrijters fff2c860d3 - Fixed path canonicalization not to throw exceptions that it shouldn't throw.
- Added workaround for .NET 1.1 Directory.Delete() bug.
2007-08-23 09:30:40 +00:00
jfrijters 567e70a44d Implemented sun.net.dns.ResolverConfigurationImpl "native" methods. 2007-08-22 11:49:58 +00:00