bugs

Sampsa Ranta sampsa@netsonic.fi
Wed Feb 6 12:36:00 GMT 2002


Hi,

I've so far found two bugs from gcj that comes bundled with RedHat 7.2.

first is about importing a subclass like:

import com.sun.mail.imap.Quota.Resource;

that fails.

Second is that in some case I have a class like:

public interface ResourceTypes {
    public static final String AccountResourceType = "account";
}

public class x
 implements ResourceTypes {
    private String y;

    public void function xx() {
       y = AccountResourceType;
    }
}

Somehow with javac, y equals "account", but when compiled with gcj, y
equals "a".

Thanks,
 Sampsa Ranta
 sampsa@netsonic.fi



More information about the Gcc-bugs mailing list