-
Sub-task
-
Resolution: Not an Issue
-
P4
-
None
-
None
-
None
The class jdk/src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/SmallSet.java implements both Iterable and Iterator, which confuses the compiler if both Iterator and Iterable have a default forEach method. The safest way to avoid this compilation error is to override forEach and provide an implementation of forEach in SmallSet.
- relates to
-
JDK-8005051 default methods for Iterator
- Closed