jfrijters
fb2beb9ed8
Bug fix. Don't call Finish on unloadable TypeWrapper.
2011-12-15 09:20:18 +00:00
jfrijters
6110e41d56
It turns out that it isn't a good idea to mutate the member types (and lose the fact that they are unloadable), so now we only do the conversion when generating the Java reflection wrapper for the member.
2011-12-08 07:56:09 +00:00
natl
ed23e4ca4e
mark getSpace0 with SecuritySafeCritical to avoid getting an exception with .NET 4
2011-11-30 10:43:46 +00:00
jfrijters
6443499161
When a member with unloadable types in its signature is exposed via reflection, the unloadable types should be resolved to actual types.
2011-11-29 13:01:09 +00:00
jfrijters
36de825458
Relax class name validation for trusted class loaders.
2011-11-28 08:14:13 +00:00
jfrijters
e46b8d9400
Implemented com.sun.security.auth.module.NTSystem.getCurrent().
2011-10-13 11:01:41 +00:00
jfrijters
a573bc3017
Bug fix. IPInterfaceProperties.GetIPv_Properties() can throw an exception (and does so on Win 8 for some interfaces).
2011-09-29 09:42:21 +00:00
jfrijters
269333ee4d
Removed unnecessary link demand (because the class is no longer public) that screws up the .NET 4.0 security model.
2011-09-29 05:54:00 +00:00
jfrijters
fa9d2533d2
Fix. When disambiguating executable names, we should only try to append .exe if the filename doesn't already contain a dot.
2011-09-15 10:23:45 +00:00
jfrijters
c22a5d4588
Implemented Unsafe.defineClass().
2011-09-02 08:16:21 +00:00
jfrijters
c6006accbe
Don't use "slow path" for field reflection on remapped types (as getting a Throwable field from cli.System.Exception will cause an exception, but the slow path will generate a different exception).
2011-09-02 06:07:30 +00:00
jfrijters
fe7bef6d75
Implemented platform MBean server support (although with very limited information/exposed operations).
2011-09-01 07:53:58 +00:00
jfrijters
4817e4d015
Fix findLoadedClass0 to handle null string.
2011-08-30 10:29:29 +00:00
jfrijters
f0d18c9361
Implemented dual stack sockets.
2011-08-25 14:31:48 +00:00
jfrijters
039d6f454f
Added Kerberos support (on Windows). Based on patch submitted by Trevor Bell.
2011-08-11 11:34:55 +00:00
jfrijters
9b6c88e868
Merge in java.lang.invoke package and the beginnings of MethodHandle support.
2011-07-25 23:11:09 +00:00
smallsql
5cdb74f0e6
Add native method for FontDescriptor
2011-07-16 19:44:20 +00:00
jfrijters
20464c682c
Updated bulk of java.nio to OpenJDK 7.
2011-07-15 09:05:26 +00:00
jfrijters
4d2501e0af
First small steps in java.nio.file implementation. Update sun.util.calendar.ZoneInfoFile to OpenJDK 7, because it can now use our java.nio.file implementation.
2011-07-12 05:58:28 +00:00
jfrijters
8efcba73b7
Updated java.net package to OpenJDK 7.
2011-07-07 11:32:17 +00:00
jfrijters
56049ff315
Add sun.misc.PerfCounter from OpenJDK 7.
2011-07-07 10:03:36 +00:00
jfrijters
4cc0fca0a0
Updated java.security package and a massive amount of dependencies to OpenJDK 7.
2011-07-01 14:03:40 +00:00
jfrijters
ab6ae4d0da
Bug fix. Make FileOutputStream in append mode always append.
2011-07-01 06:02:19 +00:00
jfrijters
1eb3403769
Updated java.lang.ProcessImpl to OpenJDK 7. Added support for "magic" executable name with spaces detection (on windows).
...
redirectErrorStream will throw an IOException ("not implemented") when used without redirecting stdout, but previously redirectErrorStream wasn't implemented either (although it just ignored the flag instead of throwing an exception).
2011-06-29 09:14:49 +00:00
jfrijters
7a1aa6db70
- Updated java.lang.ClassLoader to OpenJDK 7 (minus PerfCounter and parallel class loading support)
...
Switched to 7:
- java.util.Collections
- sun.misc.ClassFileTransformer
- sun.misc.Launcher
Added from 7:
- java.lang.SafeVargs
2011-06-19 10:49:00 +00:00
jfrijters
5d07ae3795
Updated sun.misc.VM to OpenJDK 7.
2011-06-17 11:33:05 +00:00
jfrijters
9be6d7f1ad
Added experimental (and for the time being undocumented) support for having ikvmc pre-generate proxy classes.
2011-05-12 08:08:08 +00:00
jfrijters
4337d62994
Expose annotations on statically compiled code as java.lang.reflect.Proxy instead of the custom attribute object, to deal with broken code that assumes annotations are always implemented with Proxy.
...
Fix for #3254823 .
2011-03-29 12:57:48 +00:00
jfrijters
459bd89fa9
Added ikvm.runtime.Startup.addBootClassPathAssemby() API.
2010-12-28 09:03:38 +00:00
jfrijters
1874857e15
Removed VMThread class which only existed as a container for the jniDetach method.
2010-12-28 08:42:10 +00:00
jfrijters
ce7dfdf572
Ported fdlibm/floor and fdlibm/tan (and dependencies).
2010-12-10 06:31:08 +00:00
jfrijters
d438a378a9
Ported fdlibm/s_log1p.
2010-12-10 05:27:07 +00:00
jfrijters
175cf458ec
Ported fdlibm/e_hypot.
2010-12-10 05:19:00 +00:00
jfrijters
d0694cb45e
- Ported fdlibm/s_exmp1.
...
- Fixed signed/unsigned issues in fdlibm/e_pow.
- Moved constants into method for fdlibm/e_pow and fdlibm/s_scalbn.
2010-12-10 05:09:46 +00:00
jfrijters
b677536290
Ported fdlibm cbrt to C# and use that for StrictMath.cbrt().
2010-12-09 14:15:25 +00:00
jfrijters
bfe0a3a46c
- Added fdlibm files to project.
...
- Changed StrictMath.pow() to use new fdlibm version.
2010-12-09 13:53:50 +00:00
jfrijters
cae0474899
Fixed Math bugs in cbrt, hypot, expm1 and log1p exposed by Malva MathTest.
2010-12-08 08:04:34 +00:00
jfrijters
5d1873549c
- Check current UACVirtualization setting for every write access (because it can change).
...
- Fixed warning.
- Added check for Vista and up to UACVirtualization check.
2010-12-06 08:00:22 +00:00
smallsql
5203ce0223
Make the access behavior to the system preferences more like Java. Also the behavior with UAC was adapted.
2010-12-03 15:14:20 +00:00
jfrijters
1fb0542545
Made getStackAccessControlContext() parameters typed.
2010-11-25 08:52:11 +00:00
jfrijters
28325c59b8
Don't call GetIPv6Properties() if IPv6 isn't available.
2010-11-24 15:26:47 +00:00
jfrijters
434b704ec1
Don't create zero length context arrays, use null reference instead. The Java code assumes that a non-null array always contains at least one element.
2010-11-24 12:58:11 +00:00
jfrijters
d6bd5ea3a4
File.canWrite() should always return true for directories (on Windows).
2010-11-24 07:06:02 +00:00
jfrijters
d556c8d6fc
UnauthorizedAccessException caused by already existing file or directory should cause createFileExclusively() to return false instead of throwing an exception.
2010-11-24 06:41:25 +00:00
jfrijters
0ea53c4cbb
Remove implementation specific methods from top of stack trace for threads started from Java.
2010-11-24 06:38:14 +00:00
jfrijters
d2b95f4aba
The full Thread parent hierarchy should be considered when capturing the stack.
2010-11-23 09:39:49 +00:00
jfrijters
cafd10024b
AccessController.doPrivileged() stack frame was not recognized properly.
2010-11-23 08:08:16 +00:00
jfrijters
b6940c7dfb
Made Thread constructor stack capture more lazy.
2010-11-23 07:30:30 +00:00
jfrijters
d869e817ae
File.lastModified() should return 0 for non-existing files. Fix for #3111432 . Thanks to Stephen White for the patch.
2010-11-18 11:12:20 +00:00
jfrijters
1b30fcb8ea
- Removed EndExceptionBlockFinally and folded the behaviour into EndExceptionBlock (runtime compiler only).
...
- Removed EndExceptionBlockNoFallThrough() and added "leave guard" branch after every EndExceptionBlock (runtime compiler only).
- Fixed remaining dependencies on exception fall through behavior of ILGenerator.
2010-10-11 05:46:28 +00:00