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

Element.getEnclosedElements should not return static initializers from class files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd_minor
    • 6
    • core-libs
    • Cause Known
    • generic
    • generic

    Description

      The Element.getEnclosedElements method will return objects for static initializers when the source of the information about a type is a class file rather than a source file. This is inconsistent with the source file behavior.

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: