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

158 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 2c2388d152 Implemented .NET serialization support for java.lang.Class objects. 2009-07-29 07:04:42 +00:00
jfrijters 88729b4059 Optimized primitive class literals. 2009-07-16 06:29:32 +00:00
jfrijters 0e0dd9b037 - Consolidated system property initialization in VMSystemProperties.
- Fixed bug that caused startup properties set with ikvm.runtime.Startup.setProperties() to be forgotten when doing a System.setProperties(null).
2009-07-03 06:40:51 +00:00
smallsql b6ef7dab19 implements getIcon() in ShellFolder 2009-06-27 20:43:42 +00:00
smallsql ab09f25798 Complete the native part of the WinShellFolder 2009-06-27 15:42:17 +00:00
jfrijters bc47380664 Removed unncessary usage of reflection. 2009-06-25 09:18:45 +00:00
jfrijters bcf61486ab Fixed build break. 2009-06-10 04:40:00 +00:00
smallsql 39d81eb0c8 Native code of Win32ShellFolder2 Step 1 2009-06-06 12:32:47 +00:00
jfrijters b75fb48ee8 Implemented class gc (available only when compiling on .NET 4.0). 2009-06-02 07:38:21 +00:00
jfrijters 3a5b9d9480 Made java.lang.reflect.Field exception messages the same as JDK 6. 2009-06-02 06:26:42 +00:00
jfrijters 75e635dc2b Doing a Demand probably makes a little more sense, although not a whole lot. An alternative could be to change the Create() method to distinguish between public, private and internal access and when internal access is requested explicitly look for the InternalsVisibleToAttribute on the target assembly to see if it grants us access, but that seems like a lot of complexity for what is essentially a special case (internal access). 2009-05-31 07:54:26 +00:00
jfrijters 6c87412e66 Improved partial trust support. 2009-05-31 05:41:14 +00:00
jfrijters cd7ccd8417 Made serialization getters verifiable, to allow OutputOutputStream to be used from partial trust. 2009-05-29 08:57:33 +00:00
jfrijters 1ba8f67f51 Removed support for .NET 2.0 RTM (we now require at least SP1). Formally, 0.40 already doesn't support RTM, but it still worked, now it no longer works. 2009-05-24 05:42:20 +00:00
smallsql 66da5fffd2 closeSplashScreen changed 2009-05-22 19:59:24 +00:00
jfrijters 1442ab7841 - Moved unsafe operations into Java and added link demand for unmanaged code to them.
- Added some deprecated unsafe methods that are apparantly still being used (or at least referenced) by JRuby.
2009-05-17 06:16:34 +00:00
jfrijters b8e96f6bd1 Some vfs restructuring to make VFS a true hierarchy and added support for File.list(). 2009-05-12 05:54:07 +00:00
jfrijters 1a909c4b7c Moved Virtual File System into a separate source file. 2009-05-12 04:30:10 +00:00
jfrijters 7cb468fbec Don't let System.NotSupportedException escape from list() if the path is invalid. 2009-05-11 08:31:59 +00:00
smallsql 6cec7f2d70 Add additional empty native methods for AWT and Swing (mostly initIDs) 2009-05-03 18:44:22 +00:00
smallsql 5079ec4983 More Sun classes (SwingUtilities2) 2009-04-30 19:52:43 +00:00
jfrijters bbd714c2cc Integrated OpenJDK java/awt/image and java/awt/image/renderable packages. 2009-04-17 06:36:01 +00:00
jfrijters 0743299862 Handle case were there is no user class loader. 2009-04-06 05:23:04 +00:00
jfrijters 7ed63e8d01 Added (limited) support for defining instance fields on remapped types. The fields will only be available on the actual implementation types, not the types they shadow (accessing the field on a shadow instance is undefined, but for reflection we'll at least guarantee that an exception is thrown (current java.lang.IllegalArgumentException)). 2009-03-16 05:28:11 +00:00
jfrijters 546cc4fdba Implemented native library unloading to support evil trick that com.sun.jna.Native$DeleteNativeLibrary uses (it uses reflection to call ClassLoader$NativeLibrary.finalize() to force the native library to be unloaded, even though the class loader isn't garbage collected.) 2009-03-09 09:01:36 +00:00
jfrijters 4464f2e374 Fix. If we don't run the class initializer, we shouldn't still report its presence. 2009-03-04 13:52:05 +00:00
jfrijters 729e27537b Fixed first-pass compilation. 2009-03-04 10:57:42 +00:00
jfrijters 00908792ae Switched java.awt.event package from GNU Classpath to OpenJDK. 2009-03-04 08:18:36 +00:00
jfrijters 0f04e782c6 Added hack to skip running the static initializer when computing the serialVersionUID when running in ikvmstub. 2009-03-04 06:49:16 +00:00
jfrijters 3bc4241221 Fixed first-pass compilation. 2009-02-27 05:56:22 +00:00
jfrijters b54fbae544 Removed unnecessary field initialization and registerNative call. 2009-02-27 05:53:27 +00:00
jfrijters 7041ebc248 Added optimization to reflective instantiation to use Activator.CreateInstance() when that is almost as fast as our LCG based implementation (which has a far higher initial cost). 2009-02-25 05:02:35 +00:00
jfrijters 843e78ccbe Use JMath functions (where possible and necessary) instead of .NET Math functions. 2009-02-16 05:13:49 +00:00
jfrijters bb7966d7d6 Speed up stack walking. 2009-02-12 06:25:07 +00:00
jfrijters 37356690e2 First pass compilation fix. 2009-02-11 05:27:55 +00:00
jfrijters 070d268277 Added supported for redirecting Runtime.exec("java ...") to ikvm.exe. 2009-02-10 15:21:41 +00:00
jfrijters 288a3fddbd Changed "InternalsVisibleTo" handling to be based on Assembly instead of class loader. 2009-02-10 07:24:30 +00:00
jfrijters 5eebd6f17b Added AssemblyClassLoader.GetAssembly(TypeWrapper) and changed most code that assumed that an AssemblyClassLoader represented a single assembly to use it. 2009-02-04 07:24:44 +00:00
jfrijters a2082be2f5 Use CallerID instead of stack walking. 2009-01-05 06:30:46 +00:00
jfrijters 6c59d613bd Moved AccessController.doPrivileged() to Java and use CallerID to avoid stack walk. 2009-01-02 10:44:05 +00:00
jfrijters d987350ae2 Forked java/util/ResourceBundle.java to remove custom stack walking and use CallerID instead. 2009-01-02 08:49:18 +00:00
jfrijters 1a98f51c37 Removed ResolverConfigurationImpl "native" methods that have been moved to Java side. 2008-12-23 05:33:40 +00:00
jfrijters 20cee82771 Don't load IKVM.Runtime.JNI.dll when "loading" a fake native library. 2008-12-22 07:34:37 +00:00
jfrijters 02e63d6456 Moved .NEt 2.0 SP1 specific constructor invocation into a separate method, to avoid getting a MissingMethodException on .NET 2.0. 2008-11-03 06:59:59 +00:00
jfrijters ae3172cde1 Re-introduced workaround for .NET JIT bug that causes .cctor not to run when a DynamicMethod invokes a method or gets/sets a field. 2008-09-25 05:17:21 +00:00
jfrijters 5cd8a0b5b9 Moved sound factory methods to runtime, to allow for easier experimentation with a sound implementation. 2008-09-21 09:45:00 +00:00
jfrijters ef06673e2d Fixed float/double array (de)serialization endianness. 2008-09-02 04:56:19 +00:00
jfrijters 2381194072 Removed the usage of .NET reflection. 2008-09-01 05:19:04 +00:00
jfrijters 490f744678 Moved all creations of DynamicMethod to util method that uniformly handles the fallback to the new .NET 2.0 SP1 constructor that support partial trust. 2008-09-01 04:01:36 +00:00
jfrijters 590cccc8d2 - Fixed VFS root directory entry.
- Removed no longer needed VM.isBooted() check (VM.isBooted() always returns true now on IKVM).
2008-08-28 06:51:31 +00:00