Closed GoogleCodeExporter closed 9 years ago
Thanx for pointing that out.
Have you taken a stab at fixing the source, if so please post the change...
Otehrwise i will fix it..
Thanx again!
Original comment by miroslav...@gmail.com
on 10 Jan 2008 at 3:01
No, not yet, i'm sorry.
Original comment by bertram....@entega-service.de
on 10 Jan 2008 at 7:24
The fix was quite simple and pretty much did what you observed in the right spot
within BeanFactoryGenerator.
protected NewNestedType createProxy(final Bean bean) {
Checker.notNull("parameter:bean", bean);
final Type targetBeanType = bean.getType();
final String id = bean.getId();
// sub class the target...
final NewConcreteType beanFactory = this.getBeanFactory();
final NewNestedType proxy = beanFactory.newNestedType();
proxy.setStatic(false);
proxy.setNestedName(this.escapeBeanIdToBeClassNameSafe(id) + Constants.PROXY_SUFFIX);
if( bean instanceof Rpc ){
proxy.addInterface( targetBeanType );
} else{
proxy.setSuperType(targetBeanType);
}
proxy.setVisibility(Visibility.PRIVATE);
I will check in the updated files tonight ( i have also added a test to
BeansGwtTestCase).
Original comment by miroslav...@gmail.com
on 10 Jan 2008 at 10:10
Attachments:
Hey B*
I have added a contributors.txt file to the project and would like to add your
name
for your help in spotting and fixing issues like this one. Reply if you want
to be
added.
Original comment by miroslav...@gmail.com
on 22 Jan 2008 at 9:42
Sure, I'd be pleased. :)
Original comment by bertram....@entega-service.de
on 22 Jan 2008 at 12:30
So whats your name...I cant get it by looking at your google profile :)
Original comment by miroslav...@gmail.com
on 22 Jan 2008 at 8:30
Original issue reported on code.google.com by
bertram....@entega-service.de
on 8 Jan 2008 at 2:26