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 - Create new BeanInfo
Summary: Create new BeanInfo
Status: RESOLVED DUPLICATE of bug 133153
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 15:13 UTC by czige
Modified: 2008-05-16 15:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***