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: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> 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 <[EMAIL PROTECTED]>
> 
>       * java/lang/Class.java (getModifiers): Only returns
>       interesting bits.
> 
> 


_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to