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.
In the Variables window, when String.format(String format, Object... args) is called with one primitive argument (eg of type double), the expression works. When more than one argument is passed, the Variables window reports "Can't assign primitive value to object" This works: String.format("%f", a) This does not work: String.format("%f %f", a, b) where both a and b are local variables of type double
Fixed by changeset: 241891:9df44177bf66 http://hg.netbeans.org/core-main/rev/9df44177bf66
Integrated into 'main-golden', will be available in build *201212050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9df44177bf66 User: mentlicher@netbeans.org Log: #223096: Create an array argument for varargs arguments.