jfrijters
a22f2e0ce1
Disable inlining of __<clinit> method to work around x64 JIT bug.
2007-10-12 08:52:08 +00:00
jfrijters
25e5f841bd
Fix for bug #1802125 .
2007-10-10 06:54:20 +00:00
jfrijters
b08148de2b
JLS binary compat fix. Public inner classes should not be nested inside non public types.
2007-10-10 05:31:57 +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
d36bf2ea5a
Fixed RunClassInit() for remapped types.
2007-09-24 13:06:30 +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
69aada9320
Cache ReflectiveModifiers in CompiledTypeWrapper. AttributeHelper.GetInnerClass() is expensive and this property is called directly in response to Class.getModifiers(), so caching the modifiers results in a significant speedup of Class.getModifiers() which in turns speeds up Constructor.newInstance().
2007-09-19 09:38:05 +00:00
jfrijters
c11f7d3e8f
Added extra checks to prevent critical failures when trying to extend or implement non-public base classes/interfaces in another assembly.
2007-09-17 10:15:17 +00:00
jfrijters
f89e98b7ed
Implemented assertions (OpenJDK only).
2007-09-12 06:51:37 +00:00
jfrijters
4d63ff9272
Don't include unused code in runtime build, to avoid warnings.
2007-09-12 06:47:48 +00:00
jfrijters
2bd4452024
Implemented support for creating proxies for non-public interfaces from ikvmc compiled assemblies.
2007-09-11 12:12:35 +00:00
jfrijters
63deb9d487
Handle types that aren't exposed to Java.
2007-09-11 12:06:21 +00:00
jfrijters
c932cfad42
Made method annotation resolution lazy to support annotations that annotate themselves.
2007-09-10 06:16:49 +00:00
jfrijters
9fcf57e519
Fixed handling of finalize method to deal with scenarios where the base class isn't yet finished when the derived class' finalize method is linked.
2007-09-07 12:37:03 +00:00
jfrijters
b76bd6edd0
Stub package accessible abstract methods in public classes to allow JLS binary compatibility across assembly boundaries.
2007-09-07 12:34:46 +00:00
jfrijters
4df0beb760
Improved handling of abstract methods that aren't implemented in non-abstract classes (JLS binary compatibility).
2007-09-07 12:32:29 +00:00
jfrijters
59cc098225
Add support for overriding package virtual methods that have a different vtable slot from the non-package virtual method that we're overriding.
2007-09-07 12:29:21 +00:00
jfrijters
c811133672
Only public methods can implement missing interface methods.
2007-09-07 12:26:52 +00:00
jfrijters
d0437c7ee9
Implemented 1.6 JNI changes.
2007-09-07 05:19:11 +00:00
jfrijters
4ddfd2b12d
Enabled workaround for x64 tail call optimization in .NET 1.1 builds.
2007-08-29 06:23:47 +00:00
jfrijters
477adb3b33
Fixed code generator bug that could cause AbstractMethodError to be thrown when subclassing a .NET type that has an explicit interface method implementation.
2007-08-29 06:23:14 +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
902cd58a62
Renamed IKVM.Hybrid.GNU.Classpath.OpenJDK.dll to IKVM.OpenJDK.ClassLibrary.dll and made OpenJDK build the default.
2007-08-22 11:51:14 +00:00
jfrijters
567e70a44d
Implemented sun.net.dns.ResolverConfigurationImpl "native" methods.
2007-08-22 11:49:58 +00:00
jfrijters
b2e2c142f9
Added DnsAddresses and DnsSuffix properties.
2007-08-22 11:49:05 +00:00
jfrijters
dfae737d84
Don't add KeepAlive to constructors of objects that don't have finalizers and extend cli.System.Object.
2007-08-22 11:48:20 +00:00
jfrijters
0b50e118e4
Moved VMSystemProperties.getVersion() "native" method to common.cs.
2007-08-22 11:47:22 +00:00
jfrijters
b3c98c5ae0
Added support for StructLayoutAttribute annotations.
2007-08-21 07:22:05 +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
3c6b7ac8db
Added HideFromJava to AnnotationAttribute type member that can potentially use HideFromJava types.
2007-08-17 09:11:34 +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
8480d59274
Don't create TypeWrapper instances for HideFromJava types.
2007-08-14 12:08:39 +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
255c73356c
Implemented improved floating point compliance.
2007-08-08 13:51:55 +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
14647eaa16
Fixed ArrayTypeWrapper.Finish().
2007-08-08 12:50:48 +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
16b9ef52ea
Removed unused code.
2007-08-07 07:42:42 +00:00
jfrijters
860429230e
Remoed VMStackWalker dependency (from OpenJDK build)
2007-08-07 07:42:13 +00:00
jfrijters
bba90debad
Added support for generating access stubs in public interfaces that extend non-public interfaces.
2007-08-03 13:14:41 +00:00
jfrijters
cfad6b55d4
Fixed compilation under Mono.
2007-08-01 07:34:36 +00:00
jfrijters
0607dbc8a2
Added method name clash handling for AOT access stub methods.
2007-07-31 15:27:22 +00:00