jfrijters
2496f8763a
Added some new OpenJDK 7 sun.net classes.
2011-07-07 10:27:06 +00:00
jfrijters
56049ff315
Add sun.misc.PerfCounter from OpenJDK 7.
2011-07-07 10:03:36 +00:00
jfrijters
35806400bf
Updated to OpenJDK 7.
2011-07-07 10:02:46 +00:00
jfrijters
f805cdf051
Updated java.math package to OpenJDK 7.
2011-07-07 09:00:48 +00:00
jfrijters
7ecbc3a509
Updated to OpenJDK 7.
2011-07-07 08:32:55 +00:00
jfrijters
8973d97e41
Made sun.misc.Unsafe.ensureClassInitialized() into an intrinsic.
2011-07-07 07:52:59 +00:00
jfrijters
12a909f21f
Updated java.nio.Bits to OpenJDK 7.
2011-07-07 07:04:32 +00:00
jfrijters
260f7bde7c
Removed old sun.management.jmxremote.ConnectorBootstrap hack.
2011-07-07 06:34:20 +00:00
smallsql
ac768e8c41
Add method isFlipStrategyPreferred to SunGraphicsEnvironment for Java 7
2011-07-06 20:55:48 +00:00
smallsql
c97c57c39a
Add interface Closeable to ZipFile for Java 7
2011-07-06 19:26:34 +00:00
jfrijters
a38ec3e780
Updated java.util.concurrent.* packages to OpenJDK 7.
2011-07-06 12:43:05 +00:00
jfrijters
ae8dcb2b69
Updated java.util.ResourceBundle and dependencies to OpenJDK 7.
2011-07-06 07:58:20 +00:00
jfrijters
ce37569291
Update java.util.zip package to OpenJDK 7.
2011-07-06 06:43:54 +00:00
jfrijters
7322b6de31
Implement Java 7 flush support.
2011-07-06 06:42:04 +00:00
jfrijters
148bc71e1d
Rearranged deflate loop to prepare for flush support.
2011-07-06 06:30:52 +00:00
jfrijters
623b892ae2
Make SeedGenerator.getSystemEntropy() use Crypto API when available to avoid file system dependency.
2011-07-06 05:57:59 +00:00
jfrijters
0356a337ca
Remove GNU Classpath legacy flush API.
2011-07-06 05:56:33 +00:00
jfrijters
6dcdd6d9fc
Updated for Java 7.
2011-07-05 07:25:12 +00:00
jfrijters
9ab925a1f4
Implement Zip64 support.
2011-07-05 07:12:18 +00:00
jfrijters
733bd571e4
Implement Java 7 ZipFile.getComment() API.
2011-07-05 07:04:49 +00:00
jfrijters
2f765373ff
Implemented OpenJDK 7 charset support.
2011-07-05 06:56:12 +00:00
jfrijters
8dd8e7c989
Minor optimization. Don't use setters to populate ZipEntry.
2011-07-05 06:39:43 +00:00
jfrijters
75b7458a87
Bug fix. ZipFile.getEntry() should return a copy that doesn't reference the underlying extra byte array (note that the ZipEntry "copy" constructor does not make a copy of the extra byte array).
2011-07-05 06:25:57 +00:00
jfrijters
7702563a63
Use long to store unsigned integers. This fixes support for files > 2GB.
2011-07-05 06:14:35 +00:00
jfrijters
84dc4a58c4
Minor cleanup to prepare for OpenJDK 7 changes.
2011-07-05 06:05:48 +00:00
jfrijters
f711200f56
Add new OpenJDK 7 java.nio.charset.StandardCharsets class.
2011-07-04 07:26:09 +00:00
jfrijters
353803e9fa
Updated javax.crypto.* and com.sun.crypto.provider packages to OpenJDK 7.
2011-07-01 15:36:22 +00:00
jfrijters
0644a67d13
Updated remaining sun.security.* packages to OpenJDK 7.
2011-07-01 15:14:54 +00:00
jfrijters
537962e8a1
Updated sun.security.action, sun.security.jca, sun.security.pkcs12 and sun.security.provider packages to OpenJDK 7.
2011-07-01 14:51:03 +00:00
jfrijters
2e24971bcd
Updated org.ietf.jgss package to OpenJDK 7.
2011-07-01 14:40:06 +00:00
jfrijters
7645299a93
Updated javax.security.* packages to OpenJDK 7.
2011-07-01 14:32:55 +00:00
jfrijters
ab0b90857d
Updated com.sun.security.* packages to OpenJDK 7.
2011-07-01 14:19:26 +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
3b56133d59
Forgot to add new sun.nio.fs files.
2011-07-01 08:59:41 +00:00
jfrijters
dcb3e8451e
Updated java.io package to OpenJDK 7.
2011-07-01 08:56:51 +00:00
jfrijters
ad26a54629
Fixed initialization order regression.
2011-07-01 08:30:18 +00:00
jfrijters
2717af44d9
Updated java.lang.SecurityManager to OpenJDK 7.
2011-07-01 06:43:25 +00:00
jfrijters
9b4e61e2ab
Temporarily fork sun.security.util.SecurityConstants to make OpenJDK 6 -> 7 transition easier.
2011-07-01 06:35:53 +00:00
jfrijters
4e5f4bde6b
Updated forked java.io classes (except FilePermission) to OpenJDK 7.
2011-07-01 06:01:17 +00:00
jfrijters
dbe1854d33
Updated java.lang.management package to OpenJDK 7.
2011-06-30 09:28:43 +00:00
jfrijters
5155a5bd9e
Integrated new OpenJDK 7 platform logging support.
2011-06-30 07:55:16 +00:00
jfrijters
74608dc3d2
Updated sun.misc.JavaLangAccess to OpenJDK 7.
2011-06-29 16:30:05 +00:00
jfrijters
61eebaee3c
Updated generated java.lang sources to OpenJDK 7.
2011-06-29 16:19:00 +00:00
jfrijters
ea7ea27937
Updated ReflectAccess.java to OpenJDK 7.
2011-06-29 15:28:39 +00:00
jfrijters
eb95468faf
Updated java.lang.reflect package (minus ReflectAccess.java) to OpenJDK 7.
2011-06-29 15:07:09 +00:00
jfrijters
7afa51d9b1
Updated java.lang.instrument package to OpenJDK 7.
2011-06-29 13:36:22 +00:00
jfrijters
5cf713dd70
Updated java.lang.ref package to OpenJDK 7.
2011-06-29 13:28:04 +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
a91fc49ecc
Moved most of java/lang package to OpenJDK 7.
2011-06-28 07:41:36 +00:00
jfrijters
352499ad04
Added -warnaserror to the IKVM.OpenJDK.*.dll builds.
2011-06-28 06:04:02 +00:00
jfrijters
1e3a90329d
Include OpenJDK 7 java.lang.AutoCloseable interface and make it shadow System.IDisposable. Removed java.io.Closeable special casing to support IDisposable (now automatic because Closeable extends AutoCloseable).
2011-06-27 15:15:32 +00:00
jfrijters
e6cced1569
Add OpenJDK 7 sun/awt directory (where we're getting EventQueueItem from).
2011-06-27 12:49:02 +00:00
smallsql
abd86998d0
add method isTranslucencyCapable() for JDK7
2011-06-26 18:37:47 +00:00
smallsql
ebd1a34977
Add const for locking of event queue in JDK7
2011-06-26 18:16:44 +00:00
smallsql
aadf0f70da
move EventQueueItem in a separate file for JDK7
2011-06-26 17:07:11 +00:00
smallsql
35581656c1
More JDK7 methods in SunToolkit
2011-06-26 16:05:19 +00:00
jfrijters
252871416f
Fixed regression introduced in previous commit. Throwable.printStackTrace() should do a virtual invocation of Throwable.printStackTrace(PrintStream).
2011-06-26 06:58:57 +00:00
jfrijters
1ece25e884
Updated java.lang.Throwable to OpenJDK 7.
2011-06-26 06:32:47 +00:00
smallsql
87d67d3f8e
Add methods getNumberOfButtons() and instanceof() for JDK7
2011-06-24 21:14:03 +00:00
smallsql
13942be8e5
Added new methods of FramePeer in Java 7
2011-06-22 20:55:11 +00:00
smallsql
e047fd4643
Updated ODBC Bridge to OpenJDK7 part 2
2011-06-21 19:42:45 +00:00
smallsql
2c0ab99981
Updated ODBC Bridge to OpenJDK7 part 1
2011-06-20 18:25:46 +00:00
jfrijters
f6d368e121
Updated java.lang.Enum to OpenJDK 7.
2011-06-19 12:14:33 +00:00
jfrijters
7ef52f688b
Updated to OpenJDK 7:
...
- java.lang.Class
- java.security.AccessController
- sun.reflect.ReflectionFactory
2011-06-19 12:04:11 +00:00
jfrijters
f8f4676278
- Updated java.lang.Thread to OpenJDK 7
...
Switched to 7:
- java.lang.ThreadGroup
2011-06-19 11:11:31 +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
6d381ee6fe
Unforked sun.misc.Launcher. Use (more) map.xml patching instead.
2011-06-19 10:17:19 +00:00
jfrijters
c5c44a8a64
Unforked java.lang.ApplicationShutdownHooks and updated to OpenJDK 7 version.
2011-06-19 10:02:30 +00:00
jfrijters
efc7c0ca1c
- Enable ikvmc support for class file version 51.
...
- Change build to support hybrid OpenJDK 6 & 7 build.
2011-06-19 09:33:08 +00:00
jfrijters
f5c6a874a0
Use some map.xml magic to create a no-op constructor that will allow the number of source differences to be reduced while maintaining the optimized nature of the DUMMY instance.
2011-06-17 14:46:35 +00:00
jfrijters
71230ea465
Partially updated to OpenJDK 7.
2011-06-17 13:27:30 +00:00
jfrijters
67d11a210b
Partially updated to OpenJDK 7.
2011-06-17 12:32:06 +00:00
jfrijters
5d07ae3795
Updated sun.misc.VM to OpenJDK 7.
2011-06-17 11:33:05 +00:00
jfrijters
e360c88f10
Updated to OpenJDK 7.
2011-06-17 10:16:57 +00:00
jfrijters
aa420e31b7
Fix invariant violation. If after writeMarker is called we switch to data mode and we're right at the end of the buffer pos was incremented past the end of the buffer causing future grow invocations to throw an ArrayIndexOutOfBoundsException.
2011-06-02 07:23:22 +00:00
jfrijters
a155ec2158
Add missing lib/*.properties files (in particular lib/calendars.properties which caused java.util.JapaneseImperialCalendar to fail).
2011-05-17 06:59:57 +00:00
jfrijters
ffe0dacce7
- Updated AtomicInteger, AtomicIntegerArray, AtomicLonger, AtomicLongerArray to use .NET 2.0 interlocked operations.
...
- Added stind_i8 opcode to remapper.
2011-05-13 07:29:31 +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
45760b34dd
Prepare java.lang.reflect.Proxy for forking.
2011-05-12 07:44:28 +00:00
jfrijters
404a7e8ec2
Specify "-cp dummy" for javac compile to avoid using the CLASSPATH.
2011-05-10 09:55:05 +00:00
smallsql
911a92a7c1
compensate an bug in OpenJDK 6 on Windows. The result is that the needed width for painting of labels and buttons can be 1 pixel larger as the prefered size. The result was labels with "...".
2011-04-19 19:08:07 +00:00
smallsql
19352c2c8b
Add a emulation for fixed metrix to make drawString and stringWidth compatible.
2011-04-16 19:59:15 +00:00
smallsql
f61773c6fb
Fix a StringIndexOutOfBoundsException if RTL and LTR text in one string
2011-04-01 20:07:42 +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
1ce5cc687f
Fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48131 .
2011-03-15 06:24:12 +00:00
jfrijters
34a7d1d2f4
Update to OpenJDK 6 b22.
2011-03-02 07:32:50 +00:00
smallsql
23ba2f8b00
Added missing non-internal look and feel resources to the SwingAWT dll
2011-02-22 20:50:13 +00:00
jfrijters
5100ac571e
Bug fix. Use Assembly.EscapedCodeBase to construct code source url, instead of unescaped CodeBase.
2011-02-18 12:16:03 +00:00
jfrijters
8f19bc1641
Added SecurityCriticalAttribute to fix .NET 4.0 build and fixed synchronization issues.
2011-02-14 06:25:30 +00:00
jfrijters
2ecddb511b
Added source that was forgotten to add.
2011-02-14 05:46:14 +00:00
smallsql
196359aecc
Fix for the timezone used to convert .NET DateTime to Java Timezone in the JDBC-ODBC bridge.
2011-01-25 12:59:38 +00:00
jfrijters
bc2c6b1a72
Integrated OpenJDK 6 b21.
2011-01-24 16:40:22 +00:00
smallsql
e6457788e8
Implementation of several print attributes (Copies, Collation, Orientation, MediaSize, MediaTray). The PrintGraphics now fully supports the create() function.
2011-01-24 13:38:37 +00:00
jfrijters
f9463f9dc5
Sort openjdk files.
2011-01-24 12:57:59 +00:00
smallsql
cf6b5ff73d
Fixed ImageRepresentation for image formats other than 32-bit ARGB. Bitmaps with 16bits an more can be used directly, images with indexed color model will be converted to 32bit.
2011-01-24 12:08:45 +00:00
smallsql
7078903c13
Implements isNonSimpleChar(); sort the method like the sun Class for easer merging; copy some Java documentation
2011-01-23 20:32:58 +00:00
smallsql
b0398ffc0a
Currently there are an inconsistency between NetFontMetrics and FontDesignMetrics. To prevent this we replace all with FontDesignMetrics and remove NetFontMetrics.
2011-01-23 11:20:38 +00:00
jfrijters
0c673a7b6a
Added ikvm.internal.NotYetImplementedError. Replaced all throw sun.reflect.generics.reflectiveObjects.NotImplementedException code with throw NotYetImplementedError.
2011-01-17 05:42:41 +00:00
jfrijters
720185aa51
Throw the proper exception (System.NotSupportedException) from the unsupported Stream methods.
2011-01-17 05:22:44 +00:00
jfrijters
609822fc0f
Removed unused imports of sun.reflect.generics.reflectiveObjects.NotImplementedException.
2011-01-17 05:21:38 +00:00
jfrijters
97b392cf09
Unspecified scope id should be -1 in Java, not 0.
2011-01-06 17:04:58 +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
ba65584480
Updated base addresses.
2010-12-28 08:23:05 +00:00
smallsql
ac51c2c8a3
* Added Image Content Handler in package sun.net.www.content.image
...
* Replace NetProducerImage with the original ToolkitImage and ImageRepresentation. Now this image work correctly with the MediaTracker together.
* remove some methods Image methods from NetToolkit and use the original of SunToolkit
2010-12-27 10:33:40 +00:00
smallsql
f8c4f6517a
set the system property java.content.handler.pkgs to sun.net.www.content. This is used from URLConnection.getContent().
2010-12-27 10:24:20 +00:00
jfrijters
cc17784bbd
Revert change by Volker. We don't want to set the cause, because that is a breaking change.
2010-12-27 05:51:42 +00:00
jfrijters
8d3bccd838
Generate lib/ikvm-api.jar to expose the ikvm API more easily to java code (by shipping this jar as part of ikvmbin.zip).
2010-12-24 08:00:53 +00:00
smallsql
45a9186be3
check width and heigth to valid range; reused existing Bitmap
2010-12-21 11:28:02 +00:00
smallsql
5e3477e212
show original exception as inner exception
2010-12-19 12:40:23 +00:00
smallsql
95a75146ee
fix ColorSpace.isCS_sRGB use the correct super implementation
2010-12-17 13:52:51 +00:00
smallsql
8270a2d62e
Some fixes on the printing API from Karsten Heinrich
2010-12-15 14:53:33 +00:00
jfrijters
627ab3bfa4
System.mapLibraryName() should throw NPE for null arg.
2010-12-08 08:20:01 +00:00
jfrijters
8018c00583
Added support for encoding incorrect annotation values and reporting the exception back when the annotation is queried.
...
Removed old (GNU Classpath based) version of AnnotationAttributeBase.java.
2010-12-07 06:47:30 +00:00
jfrijters
6447b240da
- Added .NET 4 security attribute.
...
- Made createFont(int,InputStream) a little more efficient by avoiding additionaly unmanaged memory allocation/copy.
2010-12-01 08:05:44 +00:00
jfrijters
eaa2713881
Use safe version of ThreadPool.QueueUserWorkItem().
2010-12-01 06:50:32 +00:00
jfrijters
4c2f86ddb1
Added .NET 4 security attributes.
2010-12-01 06:49:34 +00:00
smallsql
10122889a8
createFont implemented
2010-11-30 14:34:55 +00:00
jfrijters
a45dda802e
- Restructured threadProc() to allow try/finally block to be recognized by code generator and thus allow the finally block to run without asynchronous exceptions.
...
- Hacked wakeupJoinedThreads() to avoid deadlocks by deferring notification (by scheduling a thread pool task) if the lock cannot be obtained.
2010-11-30 07:58:35 +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
b6940c7dfb
Made Thread constructor stack capture more lazy.
2010-11-23 07:30:30 +00:00
jfrijters
65cd030688
Made ProtectionDomain for assembly class loader lazy.
2010-11-22 07:07:35 +00:00
jfrijters
21a62b4cc8
Prepare ProtectionDomain.java for forking.
2010-11-22 06:50:24 +00:00
jfrijters
1eeadb5333
- Replaced reflection based implementation of isCCLOverridden() with an MSIL version that directly compares the method pointers.
...
- Always use isCCLOverridden() to determine if we need to call parent.getContextClassLoader(), this avoids resolving ClassLoader.DUMMY when we're creating a new thread.
2010-11-20 07:41:00 +00:00
jfrijters
4e05d745ad
Add support for serializing .NET exceptions. We don't serialize the actual object, but a placeholder instead, to avoid having to implement full .NET serialization interop.
2010-11-18 08:19:59 +00:00
jfrijters
281d4c565f
Updated base addresses.
2010-11-18 05:57:25 +00:00
smallsql
e284f019ea
Activate the new Shell Folder API for a better support of virtual folder like Desktop, Computer, etc
2010-11-08 15:42:32 +00:00
smallsql
441c82407f
The return value from "ProviderType" seems more a OdbcType as a DbType. The both enumerations are to over 90% compatible. Bad API!!!
2010-11-08 14:54:07 +00:00
smallsql
74e66dcecb
Use Invariant Culture for converting Decimal <--> BigDecimal else there are problems with languages with different punctuation as English
2010-11-08 11:39:12 +00:00
smallsql
acb82241c9
Use the GNU ColorSpace converter
2010-11-08 10:03:31 +00:00
smallsql
a96ed5bbe1
GNU ColorSpace Converter with minimal changes
2010-11-08 10:00:10 +00:00
smallsql
0bbc624f5c
implements getGlyphMetrics(), getGlyphPosition(), getGlyphPositions() and fixed getGlyphLogicalBounds(), getGlyphVisualBounds() in class StandardGlyphVector
2010-11-04 11:10:43 +00:00
jfrijters
5a3a196d92
Avoid security manager check for assembly class loaders. The runtime should be priviliged to create the default assembly class loader and a custom security manager might recursively require the assembly class loader to be loaded (which is only "supported" for custom assembly class loaders).
2010-11-03 07:55:11 +00:00
smallsql
32238d1dcd
Support Images with larger pixel data
2010-11-01 15:48:41 +00:00
jfrijters
a019709849
Add explicit memory barriers after volatile stores.
2010-10-22 06:07:25 +00:00
smallsql
2cf440a88f
Java part of StandardGlypVector.getOutline
2010-10-21 12:17:22 +00:00
jfrijters
8a853ef41d
Updated base addresses.
2010-10-13 06:37:03 +00:00
jfrijters
4377152343
Fixed regression. SocketInputStream.read() ignored the offset into the byte array.
2010-10-11 14:48:40 +00:00
jfrijters
fd8f446cf7
Updated base addresses.
2010-10-11 05:52:34 +00:00
smallsql
f30b42d0ca
Add Nimbus L&F
2010-10-07 11:01:46 +00:00
jfrijters
46848fd7a4
Updated base addresses.
2010-10-07 07:20:59 +00:00
smallsql
8facc717c2
add method getFontConfigFUIR for Nimbus
2010-10-06 12:41:01 +00:00
smallsql
1e294662a6
Fix a rounding problem with FontMetrics
2010-10-06 08:31:53 +00:00
jfrijters
ede6f86062
Don't depend on leave/endfinally instructions being inserted automatically by ILGenerator.
2010-10-05 04:54:09 +00:00
jfrijters
390446e4c5
Build intermediate store of MSIL code in CodeEmitter to allow post-processing optimization steps.
2010-09-30 04:03:32 +00:00
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
jfrijters
c773ca6986
- Rewrote assembly loading for ikvmc and ikvmstub (and unified it). It now no longer depends on the runtime to do assembly name to path resolution and behaves more csc like.
...
- Added -nostdlib and -lib options to ikvmc and ikvmstub.
- openjdk.build now uses our System.Core.dll (unless we're building on .NET 4.0).
2010-04-23 04:58:36 +00:00
jfrijters
e904756592
Changed ikvm.runtime.Startup.setProperties() to take an IDictionary instead of Hashtable. This allows a Dictionary<string, string> to be passed in now and avoids future problems if/when we want to target Silverlight (which doesn't have System.Collections.Hashtable).
2010-04-21 06:51:18 +00:00
jfrijters
5a91126566
Removed lib/security/local_policy.jar from vfs.zip (because OpenJDK builds the restricted version, by default) and instead make a vfs alias for it that points to the unrestricted US_export_policy.jar.
2010-04-21 06:16:37 +00:00
jfrijters
3e9d36b9fb
Added System.Core target to build a tiny custom version of System.Core.dll that contains only System.Runtime.CompilerServices.ExtensionAttribute and will allow us to build on .NET 2.0 without having to figure out where System.Core.dll lives (or without it even being present).
2010-04-20 05:33:11 +00:00
jfrijters
73c4ad4d2d
Moved security sensitive bitmap copying to separate methods and added validation. Decorated methods with SecuritySafeCriticalAttribute (as required by .NET 4.0 security model).
2010-04-13 12:41:43 +00:00
jfrijters
642a5e1b2d
Use FileDescriptor.sync() instead of duplicating FileStream flushing here.
2010-04-12 14:09:14 +00:00
jfrijters
6e4ffb2002
Prep for .NET 4.0 security model:
...
- added more SecurityCritical attributes
- added SecuritySafeCritical/TreatAsSafe attributes to Direct-X-Buffer classes
2010-04-12 06:38:46 +00:00
jfrijters
562b15ceb2
Prep for .NET 4.0 security model:
...
- serialization methods must be critical.
2010-04-12 04:17:39 +00:00
jfrijters
393bfcc810
Moved Posix file flushing to C# to be able to use delegate instead of reflection to invoke the Mono.Posix method. Also added DangerousAddRef/Release to prevent the handle from being closed while flushing.
2010-04-08 13:06:36 +00:00
jfrijters
70555c315b
Integrated OpenJDK 6 b18.
2010-04-02 03:54:06 +00:00
jfrijters
0a5c0d2e57
Don't allow unitialized class loader to be used as parent.
2010-02-26 13:30:44 +00:00
jfrijters
6d5d5be5c9
Removed ../../openjdk6-b16 path from tools response file.
2010-02-19 14:38:41 +00:00
jfrijters
aa8481692f
Removed ../../openjdk6-b16 path from response files.
2010-02-19 14:31:14 +00:00
jfrijters
0751ab4d76
Intrinsified ThreadLocal (under specific circumstances).
2010-02-11 10:36:01 +00:00
jfrijters
ff779a78f7
Introduced a base class for intrisified AtomitcReferenceFieldUpdaters. This reduces the size of the generates classes somewhat and allows for a public type to represent all intrinsified instances (instead of the HideFromJava nested type).
2010-02-11 10:20:24 +00:00
jfrijters
9ddff837c5
- Moved thread dump code from Thread.java to openjdk.cs.
...
- Changed thread dump code to write to System.Console.Out, instead of java.lang.System.out.
- Changed formatting slightly and added some info to make it more like the JDK output.
2010-02-04 05:08:55 +00:00
smallsql
28b2619037
Move init of CTRL-BREAK from System to Startup. It should be init if a Java application run and not if a library is linked.
2010-01-31 14:08:26 +00:00
smallsql
ab38ca8fa7
Change the method dumpAllStacks() from hide to internal
2010-01-31 13:13:30 +00:00
smallsql
071cda53f0
Register the default signal handler for BREAK
2010-01-30 15:50:35 +00:00
smallsql
9902d81941
Add a method for dumping all stacktraces to the console.
2010-01-30 15:49:05 +00:00
jfrijters
19be487fe0
Removed pre-generated stub jars from cvs and modified build process to generate them during the build.
2010-01-28 08:06:56 +00:00
smallsql
2966abd1dc
Thread.getAllStackTraces() has ever suspend all Threads
2010-01-16 20:33:54 +00:00
jfrijters
56080735b2
Fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41696
2010-01-11 14:30:16 +00:00
smallsql
3fd3c67214
fire IIORead events to the listeners
2009-12-30 09:52:08 +00:00
smallsql
3c57ded8b8
Fix Font.getFamilyName for logical and styled fonts
2009-12-29 14:39:56 +00:00
smallsql
deba18899f
Fix strikethrough and underline metric if .NET 3.0 is installed
2009-12-12 21:56:07 +00:00
jfrijters
2bc458795f
- New snapshot version.
...
- Update base addresses.
2009-12-07 07:38:34 +00:00
smallsql
d6e58ff235
Fix the LineMetrics and solve some JUnit tests
2009-11-29 10:20:27 +00:00
smallsql
bed70d1b66
Implements some methods in the sun.font package
2009-11-25 15:01:20 +00:00
smallsql
61a42ad9ed
fix a NPE in constructor
2009-11-21 22:20:56 +00:00
jfrijters
c8dd69be99
Updated base addresses
2009-11-12 14:09:57 +00:00
jfrijters
929d0a6013
Created IKVM.OpenJDK.Tools.dll (which is going to be the equivalent of tools.jar).
2009-11-12 07:40:52 +00:00
jfrijters
3fc3b157bc
Removed classes that aren't supposed to be in the boot class path (they're from tools.jar). This includes the entire IKVM.OpenJDK.XML.RelaxNG assembly.
2009-11-12 07:23:16 +00:00
jfrijters
d2bdb26352
Added a couple of missing classes (that tools.jar depends on).
2009-11-12 07:05:04 +00:00
smallsql
45d2af68e6
adding Java Debugging Interface
2009-11-11 19:11:38 +00:00
jfrijters
252e89e3be
Removed two unused source files from list.
2009-11-05 07:26:56 +00:00
smallsql
f65cead627
Printing API next step
2009-11-01 12:03:01 +00:00
smallsql
8877fb077d
PrintGraphics added
2009-11-01 12:01:38 +00:00
smallsql
d9ca87d8b7
first implementation of getLogicalBounds() but it is not 100% right
2009-10-30 15:38:16 +00:00
smallsql
4aca12595a
Add class sun.print.Win32PrintJob
2009-10-28 11:06:17 +00:00
smallsql
e28519682e
set system property java.awt.printerjob
2009-10-27 19:07:24 +00:00
smallsql
9c63eabe38
Add the class because it will be instantiate via reflection currently
2009-10-27 19:05:43 +00:00
natl
3c1930d4eb
- code cleanup as per Jereon's suggestion
...
- add support for java.awt.Image
- fix problem with HDROP
2009-10-14 15:31:47 +00:00
natl
efb671c7f1
add primitive support for clipboard and drag and drop
2009-10-14 13:44:27 +00:00
smallsql
caa7085e18
First implementation of Win32PrintServiceLookup
2009-10-02 18:21:53 +00:00
smallsql
54772b74aa
Placeholder for future implementations
2009-10-02 18:16:19 +00:00
smallsql
1b16bbc4c5
Add getDefaultPrinterName and getAllPrinterNames to the PrintPeer
2009-10-02 18:11:51 +00:00
smallsql
6cdfe4ad23
more files of the print API added
2009-09-26 21:01:58 +00:00
jfrijters
e6879ad203
Updated base addresses.
2009-09-09 05:15:41 +00:00
jfrijters
db9c796794
Removed vestigial compact framework support.
2009-08-28 06:47:16 +00:00
natl
57d021fc22
add Motif look and feel
2009-08-26 23:43:25 +00:00
jfrijters
70efd72b68
Updated base addresses.
2009-08-14 13:37:25 +00:00
smallsql
51a08412cf
fix the missing alpha chanel on windows shell icons
2009-08-12 18:36:49 +00:00
jfrijters
76fb68033d
Base addresses updated.
2009-08-11 06:04:41 +00:00
jfrijters
21a741cb16
Make java.lang.Throwable .NET serializable.
2009-08-11 05:59:52 +00:00