[Bug java/35206] Class.getModifiers() returns wrong value for static inner class

marcus at better dot se gcc-bugzilla@gcc.gnu.org
Fri Feb 15 04:50:00 GMT 2008



------- Comment #1 from marcus at better dot se  2008-02-15 04:50 -------
Created an attachment (id=15155)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15155&action=view)
Test case

Result with gij:

~$ gij InnerTest
33 = public synchronized
static: false

~$ gij --version
java version "1.5.0"
gij (GNU libgcj) version 4.3.0 20080202 (experimental) [trunk revision 132072]

Expected result (Sun JRE 6):

~$ java InnerTest
9 = public static
static: true


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35206



More information about the Gcc-bugs mailing list