Results for “java constructor return string type in python code site:bugs.java.com 2”
bugs.java.com
Bug ID: JDK-6294060 Use of substring() causes memory leak
This way it's nearly impossible to detect the 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.
bugs.java.com
Bug ID: JDK-8198790 Add constructors with Charset parameter for...
Type: CSR. Component: core-libs. Sub-Component: java.io.Add constructors for the FileReader and FileWriter that take a Charset parameter. Problem -. The FileReader and FileWriter were designed as a convenient API for situations where default settings are desirable.
bugs.java.com
Bug ID: JDK-4106143 About polymorphism: changing the return type...
If you change the return type of all clone() methods in the Java library to the right type, it seem to me that it would not break the backward compatibility, except in the case of obvious programming error. In those cases, this change will help to catch at compile time some errors which are actually...