public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/35206] New: Class.getModifiers() returns wrong value for static inner class
@ 2008-02-15 4:48 marcus at better dot se
2008-02-15 4:50 ` [Bug java/35206] " marcus at better dot se
0 siblings, 1 reply; 2+ messages in thread
From: marcus at better dot se @ 2008-02-15 4:48 UTC (permalink / raw)
To: java-prs
Calling getModifiers() for an inner class that is public static returns 33
(public synchronized) instead of the correct value 9.
--
Summary: Class.getModifiers() returns wrong value for static
inner class
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: marcus at better dot se
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35206
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug java/35206] Class.getModifiers() returns wrong value for static inner class
2008-02-15 4:48 [Bug java/35206] New: Class.getModifiers() returns wrong value for static inner class marcus at better dot se
@ 2008-02-15 4:50 ` marcus at better dot se
0 siblings, 0 replies; 2+ messages in thread
From: marcus at better dot se @ 2008-02-15 4:50 UTC (permalink / raw)
To: java-prs
------- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-15 4:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-15 4:48 [Bug java/35206] New: Class.getModifiers() returns wrong value for static inner class marcus at better dot se
2008-02-15 4:50 ` [Bug java/35206] " marcus at better dot se
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).