This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
How do thread locations get updated?
- From: Charles Turner <chturne at gmail dot com>
- To: kawa at sourceware dot org
- Date: Fri, 30 Sep 2011 00:04:07 +0100
- Subject: 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.