jfrijters
9ddff837c5
- Moved thread dump code from Thread.java to openjdk.cs.
...
- Changed thread dump code to write to System.Console.Out, instead of java.lang.System.out.
- Changed formatting slightly and added some info to make it more like the JDK output.
2010-02-04 05:08:55 +00:00
smallsql
725e68ccf6
use CriticalFinalizerObject for the case of AppDomain unloading
2010-02-01 19:48:00 +00:00
smallsql
edafe5964b
implements the signal handler for windows
2010-01-30 15:54:38 +00:00
jfrijters
e5bea7a81b
Removed support for "ikvm.stubgen.serialver" property that is no longer needed now that ikvmstub doesn't use the runtime to generate stubs.
2010-01-28 08:05:34 +00:00
jfrijters
00942e7141
Don't use EmitThrow() it needs to lookup the method every time.
2009-12-07 05:27:23 +00:00
jfrijters
b36d93ebb7
Removed unnecessary usage of Java types in field reflection guts.
2009-12-02 07:49:36 +00:00
smallsql
b49e2890ef
deleting of an not existing Preferences Key should not throw an exception. see JUnit test
2009-11-28 18:51:49 +00:00
jfrijters
e443e2acb4
Wrapped a couple of forgotten TypeWrapper.Finish() calls to convert exceptions to their Java form.
2009-11-04 05:17:51 +00:00
jfrijters
b78d5d8b09
Fix for #2887316 .
2009-10-28 11:11:59 +00:00
jfrijters
28456850ca
Optimized field reflection. We now delay creating the dynamic methods to access the field until after the field has been accessed a couple of times, this saves a lot of memory for fields that are only usused a couple of times.
2009-10-28 05:54:05 +00:00
jfrijters
d6f58ab3df
Removed unnecessary class.
2009-10-26 05:22:02 +00:00
jfrijters
7dc5c17027
Removed two unnecessary fields from FieldAccessorImplBase.
2009-10-26 05:20:46 +00:00
natl
3c1930d4eb
- code cleanup as per Jereon's suggestion
...
- add support for java.awt.Image
- fix problem with HDROP
2009-10-14 15:31:47 +00:00
natl
efb671c7f1
add primitive support for clipboard and drag and drop
2009-10-14 13:44:27 +00:00
jfrijters
d82183aba5
Fix for bug #2876211 .
2009-10-12 04:22:46 +00:00
jfrijters
a4ba87a35f
Moved GetAssemblyClassLoader() (and related stuff) from ClassLoaderWrapper to AssemblyClassLoader and renamed it to FromAssembly().
2009-09-07 04:46:01 +00:00
jfrijters
b9ceecc098
Removed EmitHelper class and moved its methods into CodeEmitter.
2009-08-31 05:02:34 +00:00
jfrijters
285bf4dfbb
Added support for exposing open generic types as Java classes (special "handle" classes that can only be used for stack walking).
2009-08-27 14:40:42 +00:00
jfrijters
c15dd34832
ConvertIPAddress is not used during first-pass compilation, so don't try to compile it then.
2009-08-25 04:36:44 +00:00
natl
2834460a84
fix the build as it is broken during first pass compilation
2009-08-22 00:53:41 +00:00
jfrijters
901a0b7397
Added support for converting IPv6 link/site local addresses to .NET to Java form.
2009-08-19 13:13:59 +00:00
jfrijters
2cea11b222
Removed unused field.
2009-08-13 07:16:48 +00:00
smallsql
51a08412cf
fix the missing alpha chanel on windows shell icons
2009-08-12 18:36:49 +00:00
jfrijters
2cb0073b40
Automagic .NET serialization support (for classes that are Java serializable).
2009-08-11 05:58:44 +00:00
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