harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <ndbe...@apache.org>
Subject Re: [drlvm][kernel_classes] public variables of Thread.java -- does it make sense to make them private?
Date Sat, 03 Mar 2007 17:41:01 GMT
+1 Definitely

On 3/3/07, Geir Magnusson Jr. <geir@pobox.com> wrote:
> <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