JDK1. 6 collection framework bug 6260652 analysis
•
Java
Recently I was looking at the source code of JDK: copyonwritearraylist Java and ArrayList Java, the constructor of these two classes, there is a sentence in the comment that I can't understand.
After checking the information on the Internet, I learned that the number see 6260652 represents the number in the JDK bug library. You can check the bug details on the official website http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6260652 http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6515694 The two bugs 6260652 and 6515694 seem to be the same problem. What does this bug mean? Let's take a look at some test codes:
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码