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.
if (len == -1) break;
sb.append(buf, 0, len);
}
} catch(IllegalArgumentException ex) { // reading of extra characters into the specified character buffer failed
Logger.getLogger(TodoTaskScanner.class.getName()).log(Level.INFO, "Reading failed for {0}, with charset: {1}.", new Object[]{FileUtil.toFile(fileObject).getPath(), charset}); //NOI18N;
r.close();
return "";
} finally {