This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 135220

Summary: Create new BeanInfo
Product: java Reporter: czige <czige>
Component: BeansAssignee: Jan Pokorsky <jpokorsky>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description czige 2008-05-16 15:13:15 UTC
If I have method with Boolean argument, it will create an invalid code.

Method in PortfolioNode

public Action[] getActions(boolean popup) {
 if (actions == null) {
  actions = new Action[]{new OpenActivateAction(), new CloseAction(), new DeleteAction()};
 }
 return actions;
}

Generated code with syntax error in the potected (WO) section.

methods[METHOD_getActions1] = new
MethodDescriptor(com.aegis5.portfolionavigator.PortfolioNode.class.getMethod("getActions", new Class[]
{BOOLEAN.class})); // NOI18N

No such class as BOOLEAN
Comment 1 Jan Pokorsky 2008-05-16 15:59:57 UTC
already fixed

*** This issue has been marked as a duplicate of 133153 ***