Summary: | Class.getModifiers() returns wrong value for static inner class | ||
---|---|---|---|
Product: | gcc | Reporter: | Marcus Better <marcus> |
Component: | java | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | gcc-bugs, java-prs |
Priority: | P3 | ||
Version: | 4.3.0 | ||
Target Milestone: | --- | ||
Host: | x86_64-linux-gnu | Target: | x86_64-linux-gnu |
Build: | x86_64-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: | ||
Attachments: | Test case |
Description
Marcus Better
2008-02-15 04:48:00 UTC
Created attachment 15155 [details]
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
Closing as won't fix as the Java front-end has been removed from the trunk. |