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

fp.bugs 3210 compiler sets methods to public access in interfaces.

XMLWordPrintable

    • x86
    • windows_nt

      Pavel Curtis <###@###.###>

      The compiler sets methods in an interface to public access. It shouldn't.

      Steps to reproduce
      Compile and the attached code.

      interface InterfaceTest
      {
         void bar();
      }


      class Baz implements InterfaceTest
      {
         void bar() {}
      }

            fyellinsunw Frank Yellin (Inactive)
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: