Bug ID: JDK-6294060 Use of substring() causes memory leak
To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node.return this.longString.substring(begin, end); } public static void main(String[] args) {. List subStrings = new ArrayList(NUMBER_OF_BUFFERS)