Java 8 release changes
getService(String type, String algorithm) calls. See JDK-8254711; Removed ... value of PATH environment variable. Please see the following CSR for ...
getService(String type, String algorithm) calls. See JDK-8254711; Removed ... value of PATH environment variable. Please see the following CSR for ...
The behaviour can even be "cloaked" by using java.util.regex classes: Matcher.group() etc. which seem to use substring internally for String extraction. This way it's nearly impossible to detect the memory leak. This behaviour is totally independent of OS, Java Version, VM type etc.
Type: Bug. Component: specification.The disparity between access and assignment was formalized only in JLS3. It looks undesirable; 'this.s' and 's' in the body of a constructor unquestionably refer to the same field of the enclosing class, and DU/DA is ultimately about fields not variables.
Formatter.java: - The specifications for 'h' and 's' should mention what happends if the argument is not a primitive type (to match similar references elsewhere).- Additional constructors Formatter(File) and Formatter(File, csn) are needed. - format(String, Object ...) is missing @return.