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.
Assume we have a class with an array: class MyClass { private int[] abc = new int[]{123, 456, 789}; } Now, If we generate toString() method to this class, we will get: @Override public String toString() { return "MyClass{abc = " + abc + '}'; } and it will print something like: MyClass{abc=[I@12394f8} I suggest to improve toString() method generation for arrays to use Arrays.toString() for generating String output for arrays. And our toString() method for the aforecited class will look like: @Override public String toString() { return "MyClass{abc = " + Arrays.toString(abc) + '}'; } and will produce more readable output: MyClass{abc=[123, 456, 789]}