[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: UnwrapValueUnitTestCase.testCollectionUnwrap failure on

alesj do-not-reply at jboss.com
Thu Nov 20 10:00:42 EST 2008


"adrian at jboss.org" wrote : 
  | Or if it is going to use that, then ParameterizedClassInfo needs to override getName()
  | to return the generic name (but I'm not sure what that would break?).
  | 
This

  | +++ src/main/java/org/jboss/reflect/plugins/introspection/ParameterizedClassInfo.java
  | @@ -77,6 +77,12 @@
  |        this.parameterizedType = parameterizedType;
  |     }
  | 
  | +   @Override
  | +   public String getName()
  | +   {
  | +      return parameterizedType.toString();
  | +   }
  | 
breaks this

  |   testGenericSuperClassString(org.jboss.test.classinfo.test.IntrospectionGenericClassUnitTestCase)
  |   testGenericSuperClassEmptyClass(org.jboss.test.classinfo.test.IntrospectionGenericClassUnitTestCase)
  |   testGenericSuperInterfaceString(org.jboss.test.classinfo.test.IntrospectionGenericClassUnitTestCase)
  |   testGenericSuperInterfaceEmptyClass(org.jboss.test.classinfo.test.IntrospectionGenericClassUnitTestCase)
  | 
:-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190919#4190919

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190919



More information about the jboss-dev-forums mailing list