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

Modeling type implementing missing interfaces

    Details

      Backports

        Description

        References to incomplete (missing) interfaces are not exposed by Sun's implementation of lang model API. For example, TypeElement.getInterfaces() method returns nothing if the folloing code same is being modeled:
        ===
        public class InvalidSource implements A, B {

        }
        ===

        I believe, this doesn't conform to specification of getInterfaces(), even taking into account limititions of operating on incomplete program.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jjg Jonathan Gibbons
                  Reporter:
                  agavrilosunw Alexey Gavrilov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: