[Jsdsi-users] unable to read AclEntry
Status: Pre-Alpha
Brought to you by:
sajma
From: Dav C. <dav...@gm...> - 2004-08-27 16:58:35
|
Hi, when using jsdsi.ObjInputStream I am unable to read a previously written AclEntry, using both the jsdsi-0.5.jar and the snapshot jar. I'm attaching a java source that shows this. Here's the exception: jsdsi.sexp.SexpParseException: expected list at jsdsi.sexp.SexpUtil.check(SexpUtil.java:109) at jsdsi.sexp.SexpUtil.getList(SexpUtil.java:133) at jsdsi.sexp.SexpUtil.getList(SexpUtil.java:142) at jsdsi.sexp.SexpUtil.getNextList(SexpUtil.java:171) at jsdsi.AclEntry.parseAclEntry(AclEntry.java:181) at jsdsi.Obj.parseObj(Obj.java:195) at jsdsi.Obj.parseObj(Obj.java:182) at jsdsi.sexp.ObjInputStream.readObj(ObjInputStream.java:52) at test.read(test.java:45) at test.main(test.java:67) For convenience, here's the javac and java cmds to test. javac -classpath extlib/jsdsi-0.5.jar test.java java -classpath .:extlib/cryptix32.jar:extlib/jsdsi-0.5.jar test write test.acl cat test.acl java -classpath .:extlib/cryptix32.jar:extlib/jsdsi-0.5.jar test read test.acl Is this a bug? -- Dav Coleman http://AkuAku.org/ |