This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
bug?
- From: "Julia Smith" <julias at macrovision dot com>
- To: <java at gcc dot gnu dot org>
- Date: Thu, 27 Feb 2003 14:41:16 -0800
- Subject: bug?
this may be a 1.4 ism, that conflicts with gcj 3.2.2
file
__
class ToolOption
{
ToolOption( Hashtable t, ... )
{
<mumble>
}
<mumble>
}
file
___
class Tool
{
protected Hashtable m_options;
<mumble>
}
file
___
class MyTool extends Tool
{
class Option extends ToolOption
{
Option( ... )
{
super( m_options, ... );
<mumble>
}
The compiler complains that "super( m_options, ... )" can't reference =
m_options before the super class constructor has been called, I suppose =
because Option is seen as a subclass of MyTool, but it goes down fine on =
a 1.4 compiler (Borlands).
Is this just a language version problem or a bug?