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

174 Коммитов

Автор SHA1 Сообщение Дата
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
jfrijters 23f1449562 Implemented path canonicalization. 2007-08-21 07:16:36 +00:00
jfrijters 02558b63a4 Implemented Inet4Address.isReachable(). 2007-08-17 13:35:51 +00:00
jfrijters 53c2542cb5 Implemented Thread.WaitUntilLastJniThread() (used by JNI method DestroyJavaVM() to wait for all non-daemon threads to end). 2007-08-17 09:58:37 +00:00
jfrijters d5d1f1de1b - Implemented Thread.dumpThreads() and Thread.getThreads().
- Added a couple more fake native libraries to VFS.
2007-08-17 09:12:51 +00:00
jfrijters 14c840cfbd Refactored system properties initialization. 2007-08-16 14:04:59 +00:00
jfrijters 3d0a4c552a Integrated OpenJDK java.nio package. 2007-08-15 12:04:24 +00:00
jfrijters dada58f826 Removed unused code. 2007-08-14 12:08:12 +00:00
jfrijters 85f0e03a43 - Fixed thread creation to use AccessController.doPrivileged() to get ikvm.apartmentstate system property.
- Fixed AccessController.getStackAccessControlContext() to use "native" method as marker on the stack for privileged operation (because the native method stub may get inlined away).
2007-08-10 13:04:21 +00:00
jfrijters 353a628608 - Fixed java.lang.reflect.Array.set() to only unbox primitives when the array is a primitive array
- Fixed java.lang.reflect.Array.multiNewArray() to finish the array type before using it.
2007-08-08 12:52:33 +00:00
jfrijters 81acadd97c - Added fake awt and rmi native libraries to vfs.
- Removed VMStackWalker dependency.
- Several bootstrap issue workarounds.
2007-08-07 07:44:42 +00:00
jfrijters a5caf1ece0 Integrated OpenJDK javax.imageio package (excluding the jpeg support, because OpenJDK uses native code for that). 2007-07-31 06:14:32 +00:00
jfrijters e688e083a7 Added .NET 1.1 implementation of the System.Net.NetworkInformation namespace. 2007-07-25 08:17:53 +00:00
jfrijters c05f8aba77 Remove usage of .NET 2.0 specific API when compiling for .NET 1.1. 2007-07-25 05:33:49 +00:00
jfrijters 3c0afc5d18 Implement java.net.NetworkInterface native methods (for .NET 2.0 builds only ATM). 2007-07-24 14:33:59 +00:00
jfrijters 9e71d1a851 Fixed Inet4AddressImpl.lookupAllHostAddr() to set the queried hostname on returned addresses. 2007-07-24 07:52:24 +00:00
jfrijters faef699b6e Another attempt to fix race conditions in Thread.interrupt(). 2007-07-18 08:37:42 +00:00
jfrijters 027353d367 Clarified comment. 2007-07-18 07:30:38 +00:00
jfrijters 894e32c1b9 - Fixed openjdk.cs compilation error.
- Added OpenJDK derived PlainDatagramSocketImpl implementation.
- Added compilation stubs for jgss.
2007-07-12 14:09:51 +00:00
jfrijters a1ea963895 Fixed some FIRST_PASS compilation errors. 2007-07-12 08:46:25 +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 b4154227ea Implemented native methods of OpenJDK's java.security.AccessController (not yet integrated). 2007-07-11 07:11:35 +00:00
jfrijters 619c89079f Added support for "loading" fake native libraries from VFS and removed hack to bypass loadLibrary() call in System.initializeSystemClass(). 2007-07-05 11:53:06 +00:00
jfrijters 8281c28bc0 "Implemented" ClassLoader.retrieveDirectives() by returning empty AssertionStatusDirectives object. Enabling assertions on the ikvm.exe command line is still not implemented. 2007-07-04 09:18:19 +00:00
jfrijters 3c9e581189 - Fixed latestUserDefinedLoader() to ignore mscorlib.
- Added support to VFS for the VFS root directory.
- Fixed FieldAccessorImpl to check the type of the object passed in.
2007-07-02 07:11:48 +00:00
jfrijters 7540ffd915 Changed VFS ZipEntryStream.Read() to always try to read the requested number of bytes, instead of returning earlier. For maximum compatibility with real file i/o. 2007-06-29 11:57:55 +00:00
jfrijters bd4ed8edb5 Added lib/logging.properties to VFS and implemented an additional VFS operation required for reading it. 2007-06-29 08:59:50 +00:00
jfrijters 506e7a6584 - Implemented java.util.concurrent.locks.LockSupport.
- Fixed race condition in Thread.interrupt() that could cause cli.System.Threading.ThreadInterruptedException to be thrown from interruptable waits/sleep.
2007-06-28 14:00:10 +00:00
jfrijters 8ce09b38bc Implemented the beginnings of a virtual file system for the java.home directory. 2007-06-27 06:14:54 +00:00
jfrijters c667a3b096 Integrated OpenJDK's java.rmi package. 2007-06-22 09:51:42 +00:00
jfrijters 5c270a27d2 Integrated OpenJDK's java.util.logging and java.util.spi packages. 2007-06-22 05:53:47 +00:00
jfrijters 916e0ba864 Integrated OpenJDK's java.util.prefs package. 2007-06-21 10:32:51 +00:00
jfrijters 27b640991e Fix to make it compile on .NET 1.1 2007-06-21 04:42:14 +00:00
jfrijters 01e43cf19a Integrated OpenJDK's java.util package. 2007-06-20 14:15:27 +00:00
jfrijters bc12259235 Integrated OpenJDK's java.util.concurrent, java.math and java.sql packages. 2007-06-19 16:30:09 +00:00
jfrijters bffa70a8d8 Integrated OpenJDK's java.io package (except java.io.FilePermission class). 2007-06-19 06:09:13 +00:00
jfrijters 094618c9ed Integrated OpenJDK's java.io.File class. 2007-06-19 04:50:45 +00:00
jfrijters 1aebb753ea More bootstrap issues. 2007-06-18 09:14:59 +00:00
jfrijters 1ba38da0a4 Fixed initialization order issue. 2007-06-17 13:28:41 +00:00
jfrijters 6a5f94be4e Integerated OpenJDK's java.io.Console class. 2007-06-15 13:53:42 +00:00
jfrijters 94e75b2a71 Moved common (between GNU Classpath & OpenJDK) "native" code to common.cs. 2007-06-13 11:46:24 +00:00
jfrijters 8d84b3d0cd Implemented the hooks to set the system class loader to the entry assembly's class loader if java.class.path and java.ext.dirs properties aren't set. 2007-06-12 12:54:20 +00:00
jfrijters 470c7ab6d6 Replaced zip library loading hack with new method call replacement hack. 2007-06-12 11:47:11 +00:00
jfrijters 6994c34acc - Integrated OpenJDK's java.lang package.
- Integrated OpenJDK's java.util.regex package.
- Integrated OpenJDK's java.text.Normalizer and support classes.
- New StringHelper.java based on OpenJDK's String.java.
- More fixes to Reflection.getCallerClass()
2007-06-11 09:17:29 +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 dcfacece5c Added clean up for attached threads. 2007-06-05 09:57:09 +00:00
jfrijters 0f1840aa0d Integrated OpenJDK's java.lang.Thread 2007-06-05 06:57:18 +00:00
jfrijters 849814b9db Another getCallerClass() fix. 2007-06-01 12:47:51 +00:00
jfrijters 3a51917791 Fixed some reflection regressions. 2007-06-01 11:50:46 +00:00
jfrijters 78408b9e19 - Integrated OpenJDK's java.lang.reflect.Array class.
- Changed Class.isInstance() to use TypeWrapper.IsInstance().
2007-05-31 07:13:46 +00:00
jfrijters 43b7e4a70f Integrated OpenJDK's java.lang.reflect.* classes (except for Array). 2007-05-29 16:27:08 +00:00
jfrijters bebe6612b7 Forgot to add this file. 2007-05-28 10:15:23 +00:00