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

Modeling type implementing missing interfaces

XMLWordPrintable

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: