This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/21818] "Methods can't be overridden to be more private."


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-30 14:33 -------
Nope, I am wrong, this is a front-end bug:
copper:~>cat t/JList.java
package t;
public class JList
{
  void init(){}
}
copper:~>cat DoubleClickJList.java 
import t.JList;
public class DoubleClickJList extends JList {
        private void init() {
        }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|SWING                       |java
           Keywords|                            |rejects-valid


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21818


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]