This seems to be a problem of the compiler not being able to determine
that the variable has been initialized.
I remember having a problem on a Win JDK - (pre 1.1.5)
If you declared a variable without initializing it & later initialized
it in some if-else statment - it used to crib giving errors
Bernd Kreimeier <[EMAIL PROTECTED]> writes:
> public abstract class BS {
> /** The local host default. */
> public static final InetAddress LOCALHOST;
>
> static {
> InetAddress localhost = null;
> try {
> localhost = InetAddress.getLocalHost();
> }
> catch ( UnknownH
public abstract class BS {
/** The local host default. */
public static final InetAddress LOCALHOST;
static {
InetAddress localhost = null;
try {
localhost = InetAddress.getLocalHost();
}
catch ( UnknownHostException ex ) {
System.err.println("Failed to retriev