[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug java/23431] [4.0/4.1 regression] gcj allows overriding with more re
From: |
rmathew at gcc dot gnu dot org |
Subject: |
[Bug java/23431] [4.0/4.1 regression] gcj allows overriding with more restrictive access |
Date: |
23 Aug 2005 09:50:30 -0000 |
------- Additional Comments From rmathew at gcc dot gnu dot org 2005-08-23
09:50 -------
Changed synopsis and component. Added keyword.
Interestingly, the following is (wrongly) accepted:
------------------------- 8< -------------------------
interface MyRunnable
{
public void run( );
}
class Snafu implements MyRunnable
{
private void run( ) { }
}
------------------------- 8< -------------------------
but *not* the following:
------------------------- 8< -------------------------
abstract class MyRunnable
{
public abstract void run( );
}
class Snafu extends MyRunnable
{
private void run( ) { }
}
------------------------- 8< -------------------------
--
What |Removed |Added
----------------------------------------------------------------------------
Component|libgcj |java
Keywords| |accepts-invalid
Last reconfirmed|2005-08-22 19:12:07 |2005-08-23 09:50:28
date| |
Summary|[4.0/4.1 regression] gcj |[4.0/4.1 regression] gcj
|allows overriding with less |allows overriding with more
|restrictive access |restrictive access
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23431
- [Bug classpath/23431] New: abstract method resolve error in gij, snambi at gmail dot com, 2005/08/17
- [Bug libgcj/23431] abstract method resolve error in gij, pinskia at gcc dot gnu dot org, 2005/08/17
- [Bug libgcj/23431] abstract method resolve error in gij, pinskia at gcc dot gnu dot org, 2005/08/17
- [Bug libgcj/23431] abstract method resolve error in gij, snambi at gmail dot com, 2005/08/19
- [Bug libgcj/23431] [4.0/4.1 regression] gcj allows overriding with less restrictive access, tromey at gcc dot gnu dot org, 2005/08/22
- [Bug java/23431] [4.0/4.1 regression] gcj allows overriding with more restrictive access,
rmathew at gcc dot gnu dot org <=
- [Bug java/23431] [4.0/4.1 regression] gcj allows overriding with more restrictive access, rmathew at gcc dot gnu dot org, 2005/08/23