This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How do thread locations get updated?


Hi,
I'm trying to see a dynamic change in some of the ThreadLocation's
defined in PrettyWriter.
As an example, lineLengthLoc seems to always be null. It's "Scheme
name", if it's sensible to call it that, is *print-right-margin*.
Which is setup in Scheme using,

defAliasStFld("*print-right-margin*", "gnu.text.PrettyWriter", "lineLengthLoc");

I expect that having evaluated (define *print-right-margin* 20) in the
REPL, lineLengthLoc.get(null) would return 20, and not null again.

What am I missing?

Thanks,
Charles.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]