[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cp-patches] RFC : modifiers in java/lang/Class
From: |
Jeroen Frijters |
Subject: |
RE: [cp-patches] RFC : modifiers in java/lang/Class |
Date: |
Sun, 18 Dec 2005 09:14:42 +0100 |
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.
>
>