Hi Reviewers,

I have updated the method with `for loop` and `==` so the code will mach with 
`addInvalidComponent`

Please review and let me know your suggestions

-------------

Commit messages:
 - 8361493: RepaintManager.invalidComponents uses different equality when 
searching element

Changes: https://git.openjdk.org/jdk/pull/30184/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30184&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361493
  Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/30184.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30184/head:pull/30184

PR: https://git.openjdk.org/jdk/pull/30184

Reply via email to