jfrijters
e57a321362
Implemented IPv6 support for java.net package APIs.
2010-09-09 06:55:31 +00:00
jfrijters
0720c24a21
Prepare for forking. Note that these are .c files renamed to .java, they will be ported to Java in an as straightforward as possible way.
2010-09-09 06:42:59 +00:00
jfrijters
51997be230
Thread should synchronize on private lock instead of Thread object in thread startup code, to avoid deadlock with user code.
2010-09-09 06:35:55 +00:00
smallsql
c701a5fd6f
Improve the StandardGlypVector; implements some not implemented methods; use the FontRenderContex for calculating the metrix
2010-09-07 09:26:45 +00:00
jfrijters
9d87c806d0
IPv6 addresses associated with NetworkInterface should have their scope and network interface set (when appropriate).
2010-09-01 06:40:28 +00:00
jfrijters
be0c79af71
Prepare for forking.
2010-08-30 12:11:55 +00:00
jfrijters
6f73e59a7e
Undo previous check-in. Accidentally checked in the wrong file.
2010-08-30 10:30:50 +00:00
jfrijters
f8bd1fb197
Sort the IP addresses returned by Inet6Address.lookupAllHostAddr() based on the preferIPv6Address system property.
2010-08-30 10:25:32 +00:00
jfrijters
663c7284c4
Moved shared socket functionality from PlainSocketImpl.java to SocketUtil.java.
2010-08-27 06:21:56 +00:00
jfrijters
13955a0903
Prepare for forking.
2010-08-27 04:58:26 +00:00
jfrijters
10559391f7
Added a couple of forgotten resource directories to IKVM.OpenJDK.Tools.dll build.
2010-08-24 10:04:32 +00:00
jfrijters
750e49368a
We no longer need an external sun.boot.class.path to run javac, javap and javah.
2010-08-24 04:01:39 +00:00
jfrijters
9d1bb56831
When class GC is enabled, we shouldn't keep a strong reference to Class instances.
2010-08-23 13:02:26 +00:00
jfrijters
543bde55dc
- Removed the requirement to have peverify and ilasm in the PATH. They are now located automatically and if they are not found, the corresponding build steps are skipped.
...
- Added "managed" and "native" targets to ikvm.build to allow building just the managed parts (that don't require a C compiler to be installed).
2010-08-20 05:35:49 +00:00
jfrijters
4062e32cd6
Set system property "sun.boot.class.path" to point to the /classes/ directory of IKVM.OpenJDK.Core.dll
2010-08-19 09:26:20 +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
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
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
096b3adce8
Added copyright header.
2010-07-16 09:08:35 +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
d66aec2bdf
Updated copyright message.
2010-06-16 09:14:30 +00:00
jfrijters
a5edc53cbc
Removed LinkDemand on addShutdownHook. .NET 4.0 removed the LinkDemand from the AppDomain.ProcessExit event, so it probably is harmless.
2010-06-11 07:02:29 +00:00
jfrijters
0744cb0709
OpenJDK assemblies must be transparent on .NET 4.0.
2010-06-11 06:59:24 +00:00
jfrijters
4a5d60a726
- Moved security critical code to C# side.
...
- Cleaned up code.
- Introduced safe handles where possible.
2010-06-11 06:57:44 +00:00
jfrijters
6b6758acde
Added jdk-tools target to build javac.exe, javah.exe and javap.exe. Not built by default.
2010-06-10 08:45:40 +00:00
jfrijters
2775430fcc
Include more parts of tools.jar in IKVM.OpenJDK.Tools.dll.
2010-06-10 08:43:30 +00:00
jfrijters
248559fb69
Added "first-pass" build of IKVM.AWT.WinForms.dll and moved "native" AWT code from IKVM.Runtime.dll to IKVM.AWT.WinForms.dll.
2010-06-09 12:26:28 +00:00
jfrijters
32d5017b91
More .NET 4.0 security model attributes.
2010-06-08 12:47:51 +00:00
jfrijters
bb6abdf18a
Updated base adresses.
2010-06-08 05:56:01 +00:00
jfrijters
ce4dfa49da
Removed exception mapping methods from Throwable and consolidated into a single method (actually, two methods, but the dynamic one should not be necessary and should be removed later).
2010-05-30 06:53:49 +00:00
jfrijters
b242c1026b
Moved ExceptionHelper into proper namespace and some cleanup.
2010-05-27 16:07:56 +00:00
jfrijters
2cbe4b732b
Moved the last part of ExceptionHelper from Java to C# side.
2010-05-27 15:24:29 +00:00
jfrijters
0d2012757f
Moved the remainder of the exception mapping to the C# side.
2010-05-27 14:54:41 +00:00
jfrijters
63fac84c10
- Added new public API to unmap exception (ikvm.runtime.Util.unmapException()).
...
- Moved (parts of) mapping and unmapping to C# side.
2010-05-27 14:08:58 +00:00
jfrijters
d67bc55267
Moved more ExceptionHelper methods to C# side.
2010-05-27 13:23:04 +00:00
jfrijters
fa0e1b04f0
Yet more ExceptionHelper moving.
2010-05-27 13:03:26 +00:00
jfrijters
fe0f5df2a1
Moved a few more ExceptionHelper methods to C# side.
2010-05-27 12:36:40 +00:00
jfrijters
4da8e27cf7
Moved printStackTrace to C# side.
2010-05-27 12:08:01 +00:00
jfrijters
d18d00788b
Moved ExceptionHelper.getStackTrace() to "native" code of Thread.
2010-05-27 11:47:41 +00:00
jfrijters
a4500fdb47
Moved readObject/writeObject to C# side.
2010-05-27 11:21:23 +00:00
jfrijters
195f6ce2c6
First step of moving all exception handling code to C#.
2010-05-27 09:17:56 +00:00
jfrijters
ef1cad0880
Removed fake core class library types from ikvmstub and added a -bootstrap option to run without dependency on runtime/core class library.
2010-05-19 15:48:52 +00:00
jfrijters
c1b4c62675
Implemented OperatingSystemMXBean.
2010-05-02 08:20:59 +00:00
jfrijters
0ec793d843
Implemented RuntimeMXBrean. Feature request #2994310 .
2010-04-30 07:59:03 +00:00
jfrijters
f296e383cb
Prepare for forking.
2010-04-30 07:46:54 +00:00
jfrijters
68a8b9557a
Remove use of reflection for getting the slot of a java.lang.reflect.Field.
2010-04-28 14:22:51 +00:00
jfrijters
0431018659
Added .dll extension to referenced assemblies, to avoid relying on what is now a legacy feature of ikvmc.
2010-04-23 05:05:13 +00:00