jfrijters
3c0a730167
Added ikvmstub -parameters option to add parameter names to stub classes.
2013-08-12 09:02:13 +00:00
jfrijters
5befcded8a
Switched from @HasCallerID to @CallerSensitive and merged CallerSenstive related 7u40 changes.
2013-08-12 07:55:55 +00:00
jfrijters
a800686029
Temporarily include (unmodified) OpenJDK 7u40 versions of java/lang/Package.java, sun/reflect/CallerSensitive.java and sun/reflect/misc/ReflectUtil.java to prepare for replacing HasCallerID annotation with CallerSensitive.
2013-08-12 07:23:38 +00:00
jfrijters
8ac9625c27
Merged in some missing changes.
2013-08-09 09:46:52 +00:00
jfrijters
546f3216e1
Updated DriverManager to OpenJDK 7 (somehow this file was previously missed).
2013-08-08 14:09:23 +00:00
jfrijters
938206e2a3
Moved parameter name and annotation handling into a separate method.
2013-08-08 06:15:47 +00:00
jfrijters
9201af77c0
Added optimization to omit InnerClassesAttribute to record reflective modifiers when we can predict them.
2013-08-07 12:15:18 +00:00
jfrijters
c23b753f13
Added optimization to omit ImplementAttribute in some cases.
2013-08-07 09:26:23 +00:00
jfrijters
f49d9c8c00
Don't store class name in EnclosingMethodAttribute if we can use the DeclaringType.
2013-08-07 06:46:28 +00:00
jfrijters
93ab42d81f
Minor clean up of CompiledTypeWrapper.InnerClasses.
2013-08-07 06:24:59 +00:00
jfrijters
71193b82e8
Compile anonymous and local classes as nested types.
2013-08-07 06:16:48 +00:00
jfrijters
bf04f25dc0
Renamed field and two locals to prepare for patch to compile enclosed classes as nested types.
2013-08-06 14:52:26 +00:00
jfrijters
0a430cd473
- Renamed GetInnerClassName() to AllocNestedTypeName().
...
- Use StringComparison.Ordinal when checking inner vs outer class names.
2013-08-06 12:45:10 +00:00
jfrijters
19c7daaf38
Don't add SourceFileAttribute for inner classes if the name matches the outer class.
2013-08-06 12:11:26 +00:00
jfrijters
4424e7c316
Bug fix. Non-blocking SocketChannel read/write with array of ByteBuffer would throw exception instead of returning 0 bytes read/written when no more buffer space is available.
2013-08-05 15:38:42 +00:00
jfrijters
b3c1f607be
Allow Java 8 classes to use invokeStatic method handle constants that refer to InterfaceMethodref.
2013-08-05 12:47:14 +00:00
jfrijters
d6de054ef4
Allow private interface methods (but not yet implemented).
2013-08-05 11:52:59 +00:00
jfrijters
4d6698f898
Change class format error exception message for missing Code attribute to same text as OpenJDK.
2013-08-05 11:48:37 +00:00
jfrijters
47f221a0d1
Moved adding InnerClassAttribute to separate method.
2013-07-30 21:54:58 +00:00
jfrijters
a9edb3e3e1
Tiny clean up.
2013-07-30 20:15:48 +00:00
jfrijters
b11139608d
Moved adding ImplementsAttribute to separate method.
2013-07-30 19:55:27 +00:00
jfrijters
543148ee71
Moved CLI enum creation to separate method.
2013-07-30 18:04:59 +00:00
jfrijters
5cf1352451
Moved __<clinit> method creation to separate method.
2013-07-30 17:38:33 +00:00
jfrijters
3489660bf9
Removed -X options from standard help text and added -X option to print -X options.
2013-07-28 00:43:31 +00:00
jfrijters
4a173495a4
Bug fix. String.CaseInsensitiveComparator inner class should be acknowledged by String.
2013-07-16 13:23:43 +00:00
Mike Krüger
aca7bf8550
Bump toolsversion.
2013-07-02 06:59:20 +02:00
Mike Krüger
4aa3c262d6
Added universe option to surpress identity conversion.
2013-06-13 13:46:24 +02:00
Martin Baulig
10b8312c80
Clone the runtime's assembly remapping logic for PCL.
2013-06-12 04:16:40 +02:00
Mike Krüger
529c7308d2
Revert "Added type forwarder API to the Module."
...
It's not needed.
This reverts commit ef37d56973
.
2013-06-06 08:24:30 +02:00
Mike Krüger
ef37d56973
Added type forwarder API to the Module.
2013-06-06 07:42:29 +02:00
Mike Krüger
17989a4a81
Added strong name to the IKVM.Reflection assembly.
2013-06-06 07:42:01 +02:00
Martin Baulig
f66ae589df
Add PCL Facade Assemblies and treat them like framework asms.
2013-05-27 19:53:11 +02:00
jfrijters
822de0117a
Bug fix. Implemented annotation primitive and string value writing.
2013-02-25 20:25:11 +00:00
jfrijters
343acf31c4
Bug fix. Type names in annotations should be decoded for enums and annotations as well.
2013-02-25 19:08:01 +00:00
jfrijters
f575228353
Reimplemented dynamic binding on top of MethodHandles. This avoids having to instantiate a java.lang.reflect.Method which might fail if it declares a checked exception that is not loadable. It also has the potential of being faster, but no perf work has been done yet.
2013-02-24 15:29:06 +00:00
jfrijters
b1b5fee034
Bug fix. MethodHandle to Object.clone/finalize should be special cased.
2013-02-24 15:19:46 +00:00
jfrijters
f8c1c294f5
Bug fix. MethodHandle should be able to call dynamic only methods.
2013-02-24 13:21:43 +00:00
jfrijters
06685fbc51
- Removed CallerID from ICustomInvoke.
...
- Removed ICustomInvoke constructor invocation path, because there aren't any dynamic only constructors.
2013-02-24 13:03:59 +00:00
jfrijters
92d12dde39
Use MethodWrapper instead of ConstantPoolItemMI to make it easier to move constant pool entry lookup to GetMethodCallEmitter.
2013-02-24 07:56:51 +00:00
jfrijters
cb0afcf8fd
Removed unnecessary special casing of non-ghost interface method calling.
2013-02-24 07:48:15 +00:00
jfrijters
4b7fe573da
Added MethodWrapper.IsConstructor property.
2013-02-24 07:01:21 +00:00
jfrijters
fecbee25fd
Removed unnecessary parameter.
2013-02-24 06:38:46 +00:00
jfrijters
005ef39c08
Simplified class loading exception handling.
2013-02-23 12:41:02 +00:00
jfrijters
391d7dcef0
Finish should be called inside RetargetableJavaException try block.
2013-02-23 12:19:30 +00:00
jfrijters
d1e2edf7c3
Remove Assembly field from AssemblyClassLoader, instead associate the ikvm.runtime.AssemblyClassLoader with the runtime AssemblyClassLoader.
2013-02-23 08:50:01 +00:00
jfrijters
162e81bdda
Simplified AssemblyClassLoader construction.
2013-02-23 08:47:55 +00:00
jfrijters
346a9ee844
Moved AssemblyClassLoader package definition to runtime.
2013-02-23 08:27:18 +00:00
jfrijters
f520a240dd
Removed now unused methods.
2013-02-23 08:10:56 +00:00
jfrijters
935d995617
Regression fix. The previous Java class loader construction rewrite introduced a bug. We should re-check the javaClassLoader field while we hold the lock.
2013-02-23 08:04:42 +00:00
jfrijters
2a192de1cb
- More class loading refactoring.
...
- When we call a custom class loader and it fails to load a class, don't attempt to do a dynamic load. It is the responsibility of the custom class loader to load dynamic classes from the assembly (typically by delegating to an ikvm.runtime.AssemblyClassLoader parent).
- Allow dynamic class loading from boot class "path" and referenced assemblies.
2013-02-22 10:39:58 +00:00