classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] RFC : modifiers in java/lang/Class


From: Nicolas Geoffray
Subject: Re: [cp-patches] RFC : modifiers in java/lang/Class
Date: Sun, 18 Dec 2005 13:58:28 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051019)

Allright, commited

2005-12-18  Nicolas Geoffray <address@hidden>

        * java/lang/Class.java (getModifiers): Only returns
        interesting bits.



Jeroen Frijters wrote:

Hi Nicolas,

Yes it makes sense to filter the relevant bits here instead of at the VM
level, please commit.

Thanks,
Jeroen
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Nicolas Geoffray
Sent: Saturday, December 17, 2005 00:05
To: classpath-patches
Subject: [cp-patches] RFC : modifiers in java/lang/Class

Hi,

The access flag of a class might have the synchronized bit set, even if it's not appropriate for a class. The java file attached prints "public synchronized" as modifiers with jamvm, whereas it prints "public" with sun. This patch just changes the return of Class.getModifiers to return only interesting bits.

OK to commit?

2005-12-17  Nicolas Geoffray <address@hidden>

        * java/lang/Class.java (getModifiers): Only returns
        interesting bits.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]