hg: jdk9/dev/langtools: 8144733: Iterating over elements of a Scope can return spurious inner class elements
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Mon Aug 8 15:31:40 UTC 2016
Changeset: 45241cff9d3a
Author: jlahoda
Date: 2016-08-08 17:22 +0200
URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/45241cff9d3a
8144733: Iterating over elements of a Scope can return spurious inner class elements
Summary: When a Symbol is removed from a Scope while iterating over it, update the iterator as well to reflect the change.
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java
+ test/tools/javac/scope/IterateAndRemove.java
More information about the jdk9-dev-changes
mailing list