Results for “java string value in array statement code python site:bugs.java.com 1”
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-8178142 Misleading exception message from ...
A DESCRIPTION OF THE REQUEST : for test example: @Test public void test () { List<String> strings = Arrays.asList ("one","two"); Map<String, String> collect = strings.stream ().collect (Collectors.toMap (o -> "test", String::toString)); } Exectuion will throw "java.lang.IllegalStateException: Duplicate key one" JUSTIFICATION : This message is misleading because developer could think that key ...
bugs.java.com
Bug ID: JDK-7172149 ArrayIndexOutOfBoundsException from ...
FULL PRODUCT VERSION : ADDITIONAL OS VERSION INFORMATION : Ubuntu 12.04 LTS A DESCRIPTION OF THE PROBLEM : If a call to java.security.Signature.verify (byte [] signature, int offset, int length) with offset + length > Integer.MAX_VALUE, an ArrayIndexOutOfBoundsException will be thrown instead of IllegalArgumentException.
bugs.java.com
Bug ID: JDK-5066679 java.util.regex.Matcher should make more ...
Name: jl125535 Date: 06/22/2004 A DESCRIPTION OF THE REQUEST : The methods appendReplacement and appendTail in java.util.regex.Matcher would be even more effective if there were counterparts that used the Appendable interface as parameters and/or return values. public Matcher appendReplacement (Appendable sb, String replacement) public ...