harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm][kernel_classes] public variables of Thread.java -- does it make sense to make them private?
Date Sat, 03 Mar 2007 15:49:12 GMT
<b>+1</b> :)

geir

On Mar 3, 2007, at 8:41 AM, Weldon Washburn wrote:

> It looks like several fields in kernel_classes/javasrc/java/lang/ 
> Thread.java
> are accessible to other kernel classes. While kernel_classes are  
> "trusted
> code", it would help modularity&reliability to make them private  
> and supply
> the necessary getters/setters.
>
> A list of the fields:
>
> ThreadGroup group;
> boolean started;
> boolean isAlive;
> Object lock;
> static ThreadGroup systemThreadGroup;
> static ThreadGroup mainThreadGroup;
>
>
> -- 
> Weldon Washburn
> Intel Enterprise Solutions Software Division


Mime
View raw message