Some manual test fails when the java.awt.List component is configured by the List#makeVisible() before the "peer" initialization. The root cause is trivial if the peer exists already then the Component call the proper method, but if the peer does not exists then it should read all properties from the Component during initialization, and initialization of "visibleIndex" was missed when LWListPeer was implemented.
------------- Commit messages: - Update LWListPeer.java Changes: https://git.openjdk.java.net/jdk/pull/757/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=757&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8017179 Stats: 23 lines in 1 file changed: 18 ins; 0 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/757.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/757/head:pull/757 PR: https://git.openjdk.java.net/jdk/pull/757