Opened 8 years ago

Last modified 2 years ago

#197 accepted defect

JAR-PATHNAME errors and ambiguities

Reported by: Evenson Not Org Owned by: Evenson Not Org
Priority: critical Milestone: 1.6.0
Component: interpreter Version: 1.0.1
Keywords: jar-pathname user-feedback Cc:
Parent Tickets:

Description

Yong reports on armedbear@devel:

CL-USER> (make-pathname :device '("c:/a.b.jar")
              :directory '(:absolute "cl-ppcre"))
; Evaluation aborted on NIL.

Why am I not getting any errors (and not dropping into a debugger)? I
know the error is because the device is not a list of a pathname ie
missing a #P.

  1. What's printed out is not what was read in (trailing /)
    CL-USER> #P"jar:file:c:/a/b.jar!/cl-ppcre/"
    #P"jar:file:c:/a/b.jar!/cl-ppcre"
    
  1. Should this repeated jar:file:jar:file thing throw an error?
#P"jar:file:jar:file:c:/a/b.jar!/cl-ppcre/"
==> #P"jar:file:jar:file:c:/a/b.jar!/cl-ppcre"

Subtickets

Change History (11)

comment:1 Changed 8 years ago by Evenson Not Org

Owner: changed from ehuelsmann to Evenson Not Org
Priority: majorblocker
Status: newaccepted

comment:2 Changed 7 years ago by ehuelsmann

Keywords: user-feedback added
Priority: blockercritical

comment:3 Changed 7 years ago by Evenson Not Org

1) The only legal members of a DEVICE list are PATHNAMES.

You need to explicitly create a pathname via:

    (make-pathname :device '(#p"c:/a.b.jar")
              :directory '(:absolute "cl-ppcre"))

Agreed that an error would be a good idea.

comment:4 Changed 7 years ago by Evenson Not Org

Milestone: 1.1.01.1.1

Some issues have been addressed.

In general, the Pathname stuff need to be rewritten in Lisp.

comment:5 Changed 7 years ago by Evenson Not Org

Milestone: 1.1.11.2.0

comment:6 Changed 6 years ago by Evenson Not Org

Milestone: 1.2.01.3.0

comment:7 Changed 6 years ago by Evenson Not Org

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:8 Changed 6 years ago by Evenson Not Org

Milestone: 2.02.0.0

Milestone renamed

comment:9 Changed 6 years ago by Evenson Not Org

Milestone: 2.0.01.4.0

comment:10 Changed 3 years ago by Evenson Not Org

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:11 Changed 2 years ago by Evenson Not Org

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.