I have verified this change using windows jconsole.

   dl=: {{ 6!:3 y }}
   {{ try. dl 4 catch. 1 catcht. 2 catchd 3 end. }} ''

Hitting control-C twice during the 4 second delay gives a result of 1
in j903, and gives an attention interrupt in j9.4

FYI,

-- 
Raul

On Mon, Mar 6, 2023 at 8:45 PM bill lam <bbill....@gmail.com> wrote:
>
> Which platform(s)?
> Jconsole calls JInterrupt whenever ctrl-c/sigint is received. That's all I
> knew.
>
> On Tue, Mar 7, 2023 at 9:11 AM Raul Miller <rauldmil...@gmail.com> wrote:
>
> > In j903, attention interrupt in j console was trappable (using try. catch.)
> >
> > In j9.4, it was changed to deal with threading, and it also became
> > untrappable.
> >
> > But there's no mention of the try.catch. behavior change in the
> > release notes. So perhaps this change was unintentional?
> >
> > Thanks,
> >
> > --
> > Raul
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to