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

Analysis of public API does not take super classes into account

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b35
    • Verified

        Given

        package a;
        public class A {
            public void m() {}
        }

        package b;
        class B extends a.A {
        }

        package c;
        class C extends b.B {
            public static void main(String[] args) { new C().m(); }
        }

        C is not recompiled if A.m is removed.

              alundblad Andreas Lundblad (Inactive)
              alundblad Andreas Lundblad (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: