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

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

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      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() {}
      }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: