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 30691 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]
Put tests for null superclass into base reflection delegate test not just the 1.5 tests
serializableSuperclass.patch.txt (text/plain), 1.73 KB, created by
Ron Bodkin
on 2005-11-28 02:33:55 EST
(
hide
)
Description:
Put tests for null superclass into base reflection delegate test not just the 1.5 tests
Filename:
MIME Type:
Creator:
Ron Bodkin
Created:
2005-11-28 02:33:55 EST
Size:
1.73 KB
patch
obsolete
>Index: ReflectionBasedReferenceTypeDelegateTest.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java,v >retrieving revision 1.3 >diff -u -r1.3 ReflectionBasedReferenceTypeDelegateTest.java >--- ReflectionBasedReferenceTypeDelegateTest.java 25 Nov 2005 17:34:00 -0000 1.3 >+++ ReflectionBasedReferenceTypeDelegateTest.java 28 Nov 2005 07:34:05 -0000 >@@ -23,8 +23,6 @@ > protected ReflectionWorld world; > private ResolvedType objectType; > private ResolvedType classType; >- private ResolvedType enumType; >- > > public void testIsAspect() { > assertFalse(objectType.isAspect()); >@@ -173,6 +171,32 @@ > assertEquals(0,pointcuts.length); > } > >+ public void testSerializableSuperclass() { >+ ResolvedType serializableType = world.resolve("java.io.Serializable"); >+ ResolvedType superType = serializableType.getSuperclass(); >+ assertNull(superType); >+ } >+ >+ public void testSubinterfaceSuperclass() { >+ ResolvedType ifaceType = world.resolve("java.security.Key"); >+ ResolvedType superType = ifaceType.getSuperclass(); >+ assertNull(superType); >+ } >+ >+ public void testVoidSuperclass() { >+ ResolvedType voidType = world.resolve(Void.TYPE); >+ ResolvedType superType = voidType.getSuperclass(); >+ assertNull(superType); >+ } >+ >+ public void testIntSuperclass() { >+ ResolvedType voidType = world.resolve(Integer.TYPE); >+ ResolvedType superType = voidType.getSuperclass(); >+ assertNull(superType); >+ } >+ >+ // todo: array of int >+ > protected void setUp() throws Exception { > world = new ReflectionWorld(); > objectType = world.resolve("java.lang.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