This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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]

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



------- 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


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