jfrijters
f13a6f7496
Renamed ClassLoaderWrapper.GetLoadedClass() to FindLoadedClass().
2013-02-19 07:17:50 +00:00
jfrijters
3c7a3236c5
Added version info to runtime critical failure.
2013-02-18 17:25:59 +00:00
jfrijters
ac42f7d83f
AttributeHelper should have a deterministic class constructor.
2013-02-18 17:15:03 +00:00
jfrijters
08abf4d3f1
Added some version information to the Internal Compiler Error message.
2013-02-18 17:13:51 +00:00
jfrijters
bbac7959a3
Removed CallerID optimization special casing since we can now call internal members from dynamic assemblies.
2013-02-18 10:16:43 +00:00
jfrijters
0b4f9e7225
Emit a warning if a remapped type duplicates a loaded class.
2013-02-18 09:40:41 +00:00
jfrijters
cda49573c6
- Don't call EmitRemappedTypes2ndPass() unless we're compiling the core assemblies.
...
- Removed redundant casts.
2013-02-18 09:35:57 +00:00
jfrijters
223030b1a2
Copy zip file comment.
2013-02-18 08:59:00 +00:00
jfrijters
92c2bf05e0
Corrected indentation.
2013-02-18 08:41:22 +00:00
jfrijters
dcb6658e5f
Don't include empty classes.jar.
2013-02-18 08:39:37 +00:00
jfrijters
e000e21824
Add uncompilable classes loaded from the file system to classes.jar.
2013-02-18 08:34:31 +00:00
jfrijters
0deb62404d
Reintroduced (new) exclude list to exclude the classes that are already defined in map.xml.
2013-02-18 08:33:24 +00:00
jfrijters
8b14cff75f
Changed ikvmc -recurse: option to give a fatal error if it matches no files.
2013-02-17 12:43:42 +00:00
jfrijters
ee03f6defa
- Removed exclude.lst left over from ancient times.
...
- Removed META-INF/mailcap.default and META-INF/mimetypes.default resources that are no longer in resources.jar.
2013-02-17 12:42:54 +00:00
jfrijters
f73ad66d96
- Allow dynamic class loading (from resources) when there is no custom assembly class loader.
...
- Allow dynamic class loading when calling AssemblyClassLoader.loadClass() directly.
2013-02-17 12:07:08 +00:00
jfrijters
eb16ab3bcf
- Split class name mapping and class parsing into separate loops to simplify dealing with duplicates.
...
- Made class name mapping compatible with runtime behavior.
- Give a warning if a class filename doesn't match the class name.
2013-02-17 10:57:35 +00:00
jfrijters
e1e8434943
Turns out we need to match the .class extension case senstive.
2013-02-17 10:07:54 +00:00
jfrijters
51831ca0b6
If a jar has multiple class entries with the same name, the last one wins. This mirrors the behavior of Java and dynamic mode.
2013-02-17 09:49:23 +00:00
jfrijters
25881c98c1
Project stub classes into the jar the classes originated from.
2013-02-17 09:35:25 +00:00
jfrijters
39ad0c5b68
- Unified the handling of resources and classes in ikvmc.
...
- Include all uncompilable .class files (from jars) into the resource jars.
2013-02-17 08:00:24 +00:00
jfrijters
3940922174
Minor restructuring of ProcessFile to make future change simpler.
2013-02-17 07:28:57 +00:00
jfrijters
3c2b09a634
Moved manifest parsing to a separate method.
2013-02-17 07:15:48 +00:00
jfrijters
eccdd76000
- Bug fix. Handle zip exception in ProcessZipFile instead of one of the call sites.
2013-02-17 07:11:02 +00:00
jfrijters
c7c72d7a9d
- Merged two passes through the options.classes dictionary.
...
- Only skip "assembly" type if it contains annotations.
- Bug fix. Don't look for main method in excluded classes.
2013-02-17 06:58:37 +00:00
jfrijters
e2af047ed3
Suppress "class not found" warning for a classes that fails to compile for any reason (because we already give a warning about the primary cause).
2013-02-17 06:41:28 +00:00
jfrijters
54634433cf
Fix build break. Forgot to update .NET 4.0 build specific code.
2013-02-16 16:38:24 +00:00
smallsql
7d8b4dba67
Prevent System.MethodAccessException
2013-02-16 15:14:49 +00:00
jfrijters
4c39f456d5
Reordered using declarations and add using for sharpziplib.
2013-02-16 08:23:07 +00:00
jfrijters
aa78355fea
Bug fix. The size should be taken from the actual zip entry, not the one passed it.
2013-02-15 06:53:51 +00:00
jfrijters
be07a80f6a
- Added java.io.Serializable and java.lang.Cloneable to the core classes.
...
- Replaced LoadClassCritical("ikvm.internal.CallerID") with a core class reference.
2013-02-14 16:09:04 +00:00
jfrijters
77423ae5b1
- Marked some fields readonly.
...
- Memory model fixes.
2013-02-14 15:51:17 +00:00
jfrijters
3e52ea95bb
- Marked some field readonly.
...
- Fixed a memory model issue.
2013-02-14 14:57:57 +00:00
jfrijters
f0999e17aa
Marked some fields readonly and removed a redundant cast.
2013-02-14 14:32:21 +00:00
jfrijters
9887b2e0cc
Lock the dynamicTypes dictionary when accessing it in the TypeResolve event handler.
2013-02-14 13:53:13 +00:00
jfrijters
5b2bd8ba7c
Simplified jniproxy assembly debug dump.
2013-02-14 13:33:04 +00:00
jfrijters
724c40de24
Bug fix. Custom attribute annotation should skip indexer properties.
2013-02-14 13:16:19 +00:00
jfrijters
6bec0b43d4
- Fixed some memory model issues.
...
- Made some fields readonly.
- Removed unused parameter from DelegateInnerClassTypeWrapper constructor.
- Removed locking from InnerClasses properties.
2013-02-14 12:54:50 +00:00
jfrijters
c90e4444c3
Marked some fields as readonly.
2013-02-14 12:11:43 +00:00
jfrijters
dda163c8ac
Moved invokespecial stub cache into FinishContext.
2013-02-14 11:12:41 +00:00
jfrijters
13d53182c2
Changed another object to java.lang.ClassLoader.
2013-02-14 10:56:54 +00:00
jfrijters
a29b6881ea
Changed object to java.lang.ClassLoader in some signatures.
2013-02-14 10:40:51 +00:00
jfrijters
b8aaae5ad6
Made some fields readonly.
2013-02-14 10:03:34 +00:00
jfrijters
a1e50eeb6d
Improve previous commit to handle internal access method overriding.
2013-02-13 19:52:09 +00:00
jfrijters
f18f8f83fa
Bug fix. When looking for a method to override we should handle internal access methods.
2013-02-13 17:09:01 +00:00
smallsql
0147aaaaa7
Also broken ToolkitImage need to return a ImageSource
2013-02-13 13:33:26 +00:00
smallsql
7fda121546
implements getGlyphOutline
2013-02-13 09:45:41 +00:00
jfrijters
501188311d
Unified all ikvmc filename validation.
2013-02-12 17:12:01 +00:00
jfrijters
fb09cd500d
- Made dynamic binding to unloadable types the default (for ikvmc).
...
- Added -static option to ikvmc to disable dynamic binding.
2013-02-12 14:49:46 +00:00
jfrijters
49ed4974be
Fixed previous commit. We can't add the suppress warning key if it already exists.
2013-02-12 13:41:44 +00:00
jfrijters
a8cabdedb4
- If a class can't be statically compiled due to a missing base class/interface, include it as a resource.
...
- Modified the assembly class loader to try to load classes from resources.
2013-02-12 12:33:07 +00:00