Bug ID: JDK-6294060 Use of substring() causes memory leak
This behaviour is totally independent of OS, Java Version, VM type etc. It's an error in java.lang.String source code which is the same for all JDK distributions.To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node.