Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8001632 Umbrella: Library Lambdafication
  3. JDK-8005053

SmallSet implements both Iterator and Iterable

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Not an Issue
    • P4
    • None
    • None
    • core-libs
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              akhil Akhil Arora (Inactive)
              akhil Akhil Arora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: