jfrijters
f20785de9f
Fixed ResolveAssemblyRefImpl() to use AssemblyName.GetFullName() to fix a number of bugs:
...
- Name was not escaped.
- Retargetable and ContentType attributes were not added.
- PublicKey was not converted to PublicKeyToken.
2013-09-11 13:30:51 +00:00
jfrijters
17190174e1
Turned GetFullName() into a static more reusable method.
2013-09-11 13:18:54 +00:00
jfrijters
42b224a4b4
Moved FullName computation into a separate method.
2013-09-11 13:03:26 +00:00
jfrijters
6f9bde664d
ProcessorArchitecture should be read from flags and not its own field. This fixes the bug that GetReferencedAssemblies() did not return the ProcessorArchitecture part of the assembly flags.
2013-09-11 10:41:23 +00:00
jfrijters
67c8008621
Use StringComparison.OrdinalIgnoreCase instead of StringComparison.InvariantCultureIgnoreCase.
2013-09-11 07:53:17 +00:00
jfrijters
246083db06
Added the 4.5 (reference) assemblies to the framework list. The previous assumption was that we only need to add assemblies for previous frameworks, but that turns out to be incorrect because the list affects CompareAssemblyIdentity() which returns EquivalentFXUnified for framework assemblies.
2013-09-10 09:41:14 +00:00
jfrijters
263778b1df
Fixed assembly name parsing to handle quoted keys and values. Thanks to Ian Battersby for reporting this.
2013-09-10 06:47:58 +00:00
jfrijters
2b14c1ddab
Bug fixes:
...
- If an annotation is of a type that is not an annotation, it should be ignored.
- Annotations that contain no longer existing values should not fail, but just ignore the value.
- Class or enum values in annotations that refer to non-existing types should use TypeNotPresentExceptionProxy as the value, instead of failing to create the annotation.
- Emulate some JDK bugs.
- If an annotation value is of the wrong type, use AnnotationTypeMismatchExceptionProxy as the value, instead of failing to create the annotation.
2013-09-02 12:56:16 +00:00
jfrijters
4ef7be6d74
Bug fixes.
...
- If an annotation's type does not exist, the annotation should be ignored instead of throwing an exception.
- If an annotation is (no longer) RetentionPolicy.RUNTIME it should not be returned.
2013-09-02 12:53:04 +00:00
jfrijters
251d3053d9
Moved annotation decoding loop into method.
2013-09-02 12:47:57 +00:00
jfrijters
d5e3204070
If an annotation is inconsistent with the annotation type, we should still record it as a dynamic annotation.
2013-09-02 12:44:15 +00:00
jfrijters
fd37f3de15
Merged 7u40 changes in sun/nio/ch/Net.java and partially merged DatagramChannelImpl.java.
2013-08-15 16:25:09 +00:00
jfrijters
f4419eda64
Merged in IoTrace hooks.
2013-08-15 14:27:57 +00:00
jfrijters
898e1dedc2
Merged IoTrace hooks.
2013-08-15 12:47:21 +00:00
jfrijters
76f3faadd8
Partial 7u40 merge.
2013-08-15 11:35:13 +00:00
jfrijters
cc55a61dba
Merged 7u40 AppContext and TimeZone decoupling mechanism.
2013-08-15 10:09:08 +00:00
jfrijters
76e31c345f
Merged 7u40 changes.
2013-08-15 09:05:28 +00:00
jfrijters
c0417b59ef
Merged OpenJDK 7u40 changes to use SO_EXCLUSIVEADDRUSE for stream sockets that don't use SO_REUSEADDR.
2013-08-14 14:04:06 +00:00
jfrijters
d96db2d6ff
Merged OpenJDK 7u40 changes to use SO_EXCLUSIVEADDRUSE for datagram sockets that don't use SO_REUSEADDR.
2013-08-14 12:39:36 +00:00
jfrijters
c519faf518
Fixed the SHFILEINFO declaration. Thanks to Andras Kovacs for reporting this.
2013-08-14 12:36:05 +00:00
jfrijters
05c7458e42
Updated Throwable.initCause() and Throwable.addSuppressed() exceptions to match OpenJDK 7u40.
2013-08-13 14:24:15 +00:00
jfrijters
729a5b2126
A list of all forked OpenJDK files and the corresponding ikvm/openjdk relative path.
2013-08-13 14:11:16 +00:00
jfrijters
ce255f3f52
Unforked:
...
-sun/awt/image/ByteComponentRaster.java
-sun/awt/image/BytePackedRaster.java
-sun/awt/image/IntegerComponentRaster.java
-sun/awt/image/OffScreenImageSource.java
-sun/awt/image/ShortComponentRaster.java
2013-08-13 12:15:39 +00:00
jfrijters
1509176ca1
Merged in OpenJDK changes.
2013-08-13 11:27:03 +00:00
jfrijters
091da2ee9b
Unforked com/sun/imageio/plugins/jpeg/JPEGImageReaderSpi.java and com/sun/imageio/plugins/jpeg/JPEGImageWriterSpi.java.
2013-08-13 11:25:21 +00:00
jfrijters
3c0a730167
Added ikvmstub -parameters option to add parameter names to stub classes.
2013-08-12 09:02:13 +00:00
jfrijters
5befcded8a
Switched from @HasCallerID to @CallerSensitive and merged CallerSenstive related 7u40 changes.
2013-08-12 07:55:55 +00:00
jfrijters
a800686029
Temporarily include (unmodified) OpenJDK 7u40 versions of java/lang/Package.java, sun/reflect/CallerSensitive.java and sun/reflect/misc/ReflectUtil.java to prepare for replacing HasCallerID annotation with CallerSensitive.
2013-08-12 07:23:38 +00:00
jfrijters
8ac9625c27
Merged in some missing changes.
2013-08-09 09:46:52 +00:00
jfrijters
546f3216e1
Updated DriverManager to OpenJDK 7 (somehow this file was previously missed).
2013-08-08 14:09:23 +00:00
jfrijters
938206e2a3
Moved parameter name and annotation handling into a separate method.
2013-08-08 06:15:47 +00:00
jfrijters
9201af77c0
Added optimization to omit InnerClassesAttribute to record reflective modifiers when we can predict them.
2013-08-07 12:15:18 +00:00
jfrijters
c23b753f13
Added optimization to omit ImplementAttribute in some cases.
2013-08-07 09:26:23 +00:00
jfrijters
f49d9c8c00
Don't store class name in EnclosingMethodAttribute if we can use the DeclaringType.
2013-08-07 06:46:28 +00:00
jfrijters
93ab42d81f
Minor clean up of CompiledTypeWrapper.InnerClasses.
2013-08-07 06:24:59 +00:00
jfrijters
71193b82e8
Compile anonymous and local classes as nested types.
2013-08-07 06:16:48 +00:00
jfrijters
bf04f25dc0
Renamed field and two locals to prepare for patch to compile enclosed classes as nested types.
2013-08-06 14:52:26 +00:00
jfrijters
0a430cd473
- Renamed GetInnerClassName() to AllocNestedTypeName().
...
- Use StringComparison.Ordinal when checking inner vs outer class names.
2013-08-06 12:45:10 +00:00
jfrijters
19c7daaf38
Don't add SourceFileAttribute for inner classes if the name matches the outer class.
2013-08-06 12:11:26 +00:00
jfrijters
4424e7c316
Bug fix. Non-blocking SocketChannel read/write with array of ByteBuffer would throw exception instead of returning 0 bytes read/written when no more buffer space is available.
2013-08-05 15:38:42 +00:00
jfrijters
b3c1f607be
Allow Java 8 classes to use invokeStatic method handle constants that refer to InterfaceMethodref.
2013-08-05 12:47:14 +00:00
jfrijters
d6de054ef4
Allow private interface methods (but not yet implemented).
2013-08-05 11:52:59 +00:00
jfrijters
4d6698f898
Change class format error exception message for missing Code attribute to same text as OpenJDK.
2013-08-05 11:48:37 +00:00
jfrijters
47f221a0d1
Moved adding InnerClassAttribute to separate method.
2013-07-30 21:54:58 +00:00
jfrijters
a9edb3e3e1
Tiny clean up.
2013-07-30 20:15:48 +00:00
jfrijters
b11139608d
Moved adding ImplementsAttribute to separate method.
2013-07-30 19:55:27 +00:00
jfrijters
543148ee71
Moved CLI enum creation to separate method.
2013-07-30 18:04:59 +00:00
jfrijters
5cf1352451
Moved __<clinit> method creation to separate method.
2013-07-30 17:38:33 +00:00
jfrijters
3489660bf9
Removed -X options from standard help text and added -X option to print -X options.
2013-07-28 00:43:31 +00:00
jfrijters
4a173495a4
Bug fix. String.CaseInsensitiveComparator inner class should be acknowledged by String.
2013-07-16 13:23:43 +00:00