I've just started playing with JDB.  I've found a minor bug:

           load'data/jdb'

           hf=: Open_jdb_ 'NONEXISTANTDIRECTORY'
        |domain error: throw
        |       throw msg

This isn't a very helpful error message; the problem is  msg  is boxed, and
it should be literal.  The cause is line 240 of ~addons\data\jdb\jdb.ijs  :

     msg=. (0<#y) { 'Directory not given';'Not a directory: ',dbf

the  {  should be  {::  or a  >  should follow the  =.  (or  throw  should
accept boxed args).

IMO, it would be better to create a non-existant directory.  But that's a
design question.

-Dan

           
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to