bug?
Julia Smith
julias@macrovision.com
Thu Feb 27 23:28:00 GMT 2003
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?
More information about the Java
mailing list