|
Quick Lists
|
|
Bug ID:
|
6812879
|
|
Votes
|
0
|
|
Synopsis
|
Excess code line in ArrayList method
|
|
Category
|
java:classes_util
|
|
Reported Against
|
|
|
Release Fixed
|
7(b51)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
5-Very Low
|
|
Related Bugs
|
|
|
Submit Date
|
04-MAR-2009
|
|
Description
|
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
Method public void ensureCapacity(int minCapacity) of ArrayList contains excess code line "Object oldData[] = elementData;" - the variable "oldData" is never read locally.
REPRODUCIBILITY :
This bug can be reproduced always.
Posted Date : 2009-03-04 10:23:15.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
it's the "leftover" of the "old" code when migrating from System.arraycopy to Arrays.copyOf.
Posted Date : 2009-03-04 17:47:40.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |