This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/26720] New: Can't find method 'access$1(I)'
- From: "sjackman at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2006 18:35:51 -0000
- Subject: [Bug java/26720] New: Can't find method 'access$1(I)'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In the following test, gcj fails to generate an access method for the private
static members of type char, byte, and short, although it does generate the
access method for the private static members of type int and Object.
class AccessTest {
public interface Foo {
public void foo();
}
private static char buggy_char;
private static byte buggy_byte;
private static short buggy_short;
private static int i;
private static Object o;
static {
new Foo() {
public void foo() {
buggy_char = 0;
buggy_byte = 0;
buggy_short = 0;
i = 0;
o = null;
}
};
}
}
--
Summary: Can't find method 'access$1(I)'
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sjackman at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26720