<AWT Dev> RFR: 8017179: [macosx] list1 and list2 vistble item isn't desired

Sergey Bylokhov serb at openjdk.java.net
Tue Oct 20 08:04:29 UTC 2020


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


More information about the awt-dev mailing list