Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 30716 Details for
Bug 118192
Missing superclass for java.io.Serializable in reflection 1.5 delegate impl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to add the 1.5-specific test to the weaver5 project test case instead
fix15DelegateTest.txt (text/plain), 1.53 KB, created by
Ron Bodkin
on 2005-11-28 12:16:40 EST
(
hide
)
Description:
Patch to add the 1.5-specific test to the weaver5 project test case instead
Filename:
MIME Type:
Creator:
Ron Bodkin
Created:
2005-11-28 12:16:40 EST
Size:
1.53 KB
patch
obsolete
>Index: TestJava5ReflectionBasedReferenceTypeDelegate.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java,v >retrieving revision 1.3 >diff -u -r1.3 TestJava5ReflectionBasedReferenceTypeDelegate.java >--- TestJava5ReflectionBasedReferenceTypeDelegate.java 25 Nov 2005 17:32:31 -0000 1.3 >+++ TestJava5ReflectionBasedReferenceTypeDelegate.java 28 Nov 2005 17:16:00 -0000 >@@ -44,5 +44,21 @@ > world.resolve("java.lang.Class").getGenericType(); > } > >+ public void testGenericInterfaceSuperclass_ReflectionWorldResolution() { >+ >+ UnresolvedType javaUtilMap = UnresolvedType.forName("java.util.Map"); >+ >+ ReferenceType rawType = (ReferenceType) world.resolve(javaUtilMap); >+ assertTrue("Should be the raw type ?!? "+rawType.getTypekind(),rawType.isRawType()); >+ >+ ReferenceType genericType = (ReferenceType)rawType.getGenericType(); >+ assertTrue("Should be the generic type ?!? "+genericType.getTypekind(),genericType.isGenericType()); >+ >+ ResolvedType rt = rawType.getSuperclass(); >+ assertTrue("Superclass for Map raw type should be Object but was "+rt,rt.equals(UnresolvedType.OBJECT)); >+ >+ ResolvedType rt2 = genericType.getSuperclass(); >+ assertTrue("Superclass for Map generic type should be Object but was "+rt2,rt2.equals(UnresolvedType.OBJECT)); >+ } > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
aclement
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 118192
:
30689
|
30691
|
30692
|
30714
|
30715
| 30716