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.
[200511071900] Example: .. aMethod(new String[]{"hello"}; .. Shows hint: create method aMethod(String string); and create hint" static void aMethod(String string) { } But correct method is: static void aMethod(String string[]) { }
Incorrect type is returned by NewClassExpression.getType() in java model.
Sorry, I meant New*Array*Expression.getType().
Checking in org/netbeans/modules/javacore/jmiimpl/javamodel/NewArrayExpressionImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/NewArrayExpressionImpl.java,v <-- NewArrayExpressionImpl.java new revision: 1.6; previous revision: 1.5 done
verified in trunk
Reorganization of java component