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