Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117117

change listener on ListView is called one extra time

    XMLWordPrintable

Details

    Description

      The attached app displays a ListView: select top item "THIS" then the next item "IS".
      I'm expecting the change listener is called once per selection (which was the case up to at least JDK 8 b101) but with JDK 8 b105 the listener is called two times when selecting the second row.

      * What one get with JDK 8 b105

      Click on "THIS" triggers
      changed called - t = null - t1 = THIS

      Click on "IS" triggers
      changed called - t = THIS - t1 = null
      changed called - t = null - t1 = IS

      * What one get with JDK 8 b101

      Click on "THIS" triggers
      changed called - t = null - t1 = THIS

      Click on "IS" triggers
      changed called - t = THIS - t1 = IS

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: