jfrijters
4e7910d43d
Fixed regression that caused getResources() on generic class loader to throw NPE.
2010-08-11 08:02:32 +00:00
jfrijters
7a8c72f1cb
Fix build to work when Mono isn't installed.
2010-08-10 15:02:03 +00:00
smallsql
0760a2fd37
Fix regression with createImage(ImageProducer)
2010-08-09 12:36:16 +00:00
jfrijters
4140a2c52b
- Split objectWait into two. One for the nanos variant and one that does the actual waiting.
...
- Fixed edge case where timeout == Long.MAX_VALUE and nanos >= 500000 that should cause IllegalArgumentException (to be compatible with the JDK, although that is arguably a JDK bug).
- Fixed exception when timeout > Integer.MAX_VALUE. Thanks to Andy Malakov for reporting this.
2010-08-09 12:27:39 +00:00
jfrijters
1f08d17cd3
Fix bug #3040528 .
2010-08-09 12:07:55 +00:00
jfrijters
132efc54ff
Fixed x64 import directory alignment.
2010-08-09 12:05:43 +00:00
smallsql
1d407bb9ad
Fix listFiles() for MyComputer and isFileSystemRoot()
2010-08-09 09:07:06 +00:00
jfrijters
fa85a705da
Resource changes have caused some file size changes (and hence base address changes).
2010-08-05 13:44:06 +00:00
jfrijters
e5f4247e1c
Massive change to change resource handling. Java resources are now stored in jars that are stored as managed .NET resources. The jars are projected into VFS and the assembly class loaders know how to load resources from these jars.
2010-08-05 13:43:00 +00:00
smallsql
2b82df679b
Fix typus with Maximum / Minimum
2010-08-05 12:08:26 +00:00
smallsql
fa66292bae
implements Window.setMinimumSize()
2010-08-05 10:16:00 +00:00
jfrijters
e509ef6952
JRuby subclasses java.io.File to use the / path separator on Windows and that causes the (Sun) path normalization code to call us with a "C:/\" path which we previously failed to canonicalize correctly.
2010-08-03 14:23:11 +00:00
jfrijters
3bc2f0b871
Instead of System.ArgumentException, throw java.net.UnknownHostException in Inet4AddressImpl.getHostByAddr().
2010-08-03 14:10:46 +00:00
jfrijters
e27bc7677b
Dynamic* instructions should throw NoClassDefFoundError before NullPointerException.
2010-08-03 13:41:38 +00:00
jfrijters
2c4abbccb8
Field reflection slow path should throw NullPointerException instead of IllegalArgumentException for instance fields if the instance object is null.
2010-08-03 12:54:40 +00:00
jfrijters
7341d920e3
Updated.
2010-08-03 12:52:32 +00:00
jfrijters
94f7513960
Fixed another verifier regression introduced with try/fault handler changes.
2010-08-03 12:43:58 +00:00
jfrijters
2ed5c93a94
A nested type DotNetTypeWrapper is always nested inside another DotNetTypeWrapper, so we can use GetWrapperFromDotNetType() in DeclaringType. This also solves a bug when reflecting on the nested types in cli.System.Exception.
2010-08-03 12:42:24 +00:00
jfrijters
1ecdc51132
Inflater.finished() should not throw NPE if it is called after end() is called.
2010-08-03 12:38:54 +00:00
jfrijters
50538d31a1
Process.destroy() could throw System.ComponentModel.Win32Exception, swallow that exception instead.
2010-08-03 12:37:47 +00:00
jfrijters
c8f5ffec2d
Forgot to commit this change when the changes for the target specific warning handling went in.
2010-07-28 12:37:25 +00:00
jfrijters
17de2517f0
Types nested in a type that is HideFromJava should also be considered HideFromJava.
2010-07-28 12:33:22 +00:00
jfrijters
d147750fad
Fix for bug #3033769 .
2010-07-28 12:30:35 +00:00
jfrijters
27703d02f7
Fix for bug #3035831 .
2010-07-28 12:12:47 +00:00
jfrijters
096b3adce8
Added copyright header.
2010-07-16 09:08:35 +00:00
jfrijters
6f443b4fc9
Added support for comment lines in ikvmc response files.
2010-07-16 09:08:20 +00:00
jfrijters
b19ac2ac06
Added -writeSuppressWarningsFile:<file> ikvmc option.
2010-07-16 08:56:13 +00:00
jfrijters
3fa99010ee
Made most static compiler warnings local to the target that is being compiled (in multi target mode), to allow warnings to be suppressed (or turned into an error) for a specific target.
2010-07-16 08:50:40 +00:00
jfrijters
20b0629491
Added the ability to nest response files and added error handling to response file reading.
2010-07-16 08:44:05 +00:00
jfrijters
82e70c4908
Renamed IsProtectedFieldAccessible to IsPublicOrProtectedMemberAccessible, because it is for methods as well as fields and should also be applied to public members.
2010-07-15 12:36:58 +00:00
jfrijters
294d732b1d
Removed whitespace to sync up with GNU Classpath version.
2010-07-13 13:12:44 +00:00
jfrijters
9df27f99d7
Fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36560
2010-07-13 13:11:33 +00:00
jfrijters
a86e056ffe
When a protected field is accessed in a non-public base class in another assembly that is simultaneously compiled, we need to add an InternalsVisibleTo to the callee assembly for the caller assembly.
2010-07-12 06:58:48 +00:00
jfrijters
0feee7bea0
Fixed verifier regression introduced with try/fault handler changes. Thanks to Enrico Minack for reporting this.
2010-07-12 06:57:23 +00:00
jfrijters
c401e1167e
Added OpenJDK legal texts.
2010-06-30 13:57:39 +00:00
jfrijters
330313c596
Pass the outer context to ReadSig when the member's declaring type isn't generic, to support the usage of generic parameters in array signatures (when you call one of the runtime synthesized array methods on a generic type array e.g. T[] array; array.Set(0, default(T));)
2010-06-30 07:28:11 +00:00
jfrijters
5bc7379ddf
Throw better exceptions if MemberRef can't be resolved.
2010-06-30 07:24:21 +00:00
jfrijters
9abce7789f
A TypeRef with a null ResolutionScope is legal and refers to an entry in the export table of the current module.
2010-06-30 07:22:06 +00:00
jfrijters
9439e02ec7
Support fields that have an RVA, but where it is set to zero (C++/CLI does this).
2010-06-30 07:18:35 +00:00
jfrijters
d8edcb3f95
It turns out that "multi dimensional" vectors have "multi dimensional" constructors.
2010-06-30 07:17:58 +00:00
jfrijters
a03acfcfb9
Several fixes for C++/CLI that tends to stick custom modifiers everywhere. Also, support void& in local variable signature.
2010-06-30 07:16:55 +00:00
jfrijters
0399c35f8c
Re-instroduced generic type instantation for "identity" instantations of TypeBuilder types. This is required to be able to distinguish the two types in this example:
...
class Foo<T>
{
void Frob() {
Console.WriteLine(typeof(Foo<>));
Console.WriteLine(typeof(Foo<T>));
}
}
2010-06-28 12:14:24 +00:00
jfrijters
bac98d4479
Use GetTypeTokenForMemberRef() instead of GetTypeToken(), where appropriate.
2010-06-28 10:18:07 +00:00
jfrijters
6a3cdd3851
Avoid adding duplicate MethodSpec rows.
2010-06-28 09:38:00 +00:00
jfrijters
a07e3ae942
Added separate memberref cache to avoid duplicates in the MemberRef table.
2010-06-28 09:37:08 +00:00
jfrijters
b1d4ce1016
Renamed StandAloneSigTable and ModuleRefTable Add methods to FindOrAddRecord for clarity and consistency with the other FindOrAddRecord methods.
2010-06-28 09:33:27 +00:00
jfrijters
21e2415c9b
Handle marshal blob peculiarities.
2010-06-28 08:25:19 +00:00
jfrijters
e2ff75f477
Implemented __GetDeclaredMethods() for ArrayType and MultiArrayType.
2010-06-28 07:41:51 +00:00
jfrijters
6e313c7ae3
Fixed metadata header to account for the actual ImageRuntimeVersion string length, instead of assuming it to be "v2.0.50727".
2010-06-28 06:43:44 +00:00
jfrijters
ee0e906e21
Fixed filter block handling to support having both regular handlers and a filter for the same try block.
2010-06-28 06:35:56 +00:00