JDK-8034164 : Introspector ignores indexed part of the property sometimes
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-11
  • Updated: 2016-01-13
  • Resolved: 2014-02-14
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.
JDK 8 JDK 9
8u40Fixed 9 b06Fixed
Related Reports
Relates :  
Relates :  
Description
For example, the PropertyDescriptor for the following property does not contain third method:

    public static class Bean {
        public int[] getArray() {
            return null;
        }

        public void setArray(int[] value) {
        }

        public void setArray(int index, int value) {
        }
    }

Comments
http://cr.openjdk.java.net/~malenkov/8034164.9.0/ The regression test checks for all combinations of getters and setters. It contains several bean with names like Bean1010, where first digit is used for getter (1-exist, 0-not) second digit is used for setter (1-exist, 0-not) third digit is used for indexed getter (1-exist, 0-not) fourth digit is used for indexed setter (1-exist, 0-not)
13-02-2014