This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bugs



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]