JDK-8130732 : c.s.j.u.jar.pack.ConstantPool.Index does not correctly implement List.toArray()
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 5.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2015-07-08
  • Updated: 2018-10-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorUnresolved
Related Reports
Relates :  
Description
The List implementation com.sun.java.util.jar.pack.ConstantPool.Index does not correctly implement List.toArray: 

        public Entry[] toArray() {
            return toArray(new Entry[size()]);
        }

The result of toArray() should be equivalent to toArray(new Object[0]).