Opened 13 years ago

Closed 4 years ago

#197 closed defect (fixed)

JAR-PATHNAME errors and ambiguities

Reported by: Mark Evenson Owned by: Mark Evenson
Priority: critical Milestone: 1.8.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"

Change History (18)

comment:1 Changed 13 years ago by Mark Evenson

Owner: changed from ehuelsmann to Mark Evenson
Priority: majorblocker
Status: newaccepted

comment:2 Changed 12 years ago by ehuelsmann

Keywords: user-feedback added
Priority: blockercritical

comment:3 Changed 12 years ago by Mark Evenson

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 12 years ago by Mark Evenson

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 12 years ago by Mark Evenson

Milestone: 1.1.11.2.0

comment:6 Changed 11 years ago by Evenson Not Org

Milestone: 1.2.01.3.0

comment:7 Changed 11 years ago by Mark Evenson

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:8 Changed 11 years ago by Mark Evenson

Milestone: 2.02.0.0

Milestone renamed

comment:9 Changed 11 years ago by Mark Evenson

Milestone: 2.0.01.4.0

comment:10 Changed 8 years ago by Mark Evenson

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:11 Changed 7 years ago by Mark Evenson

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

comment:12 Changed 5 years ago by Mark Evenson

Milestone: 1.6.01.6.1

Ticket retargeted after milestone closed

comment:13 Changed 5 years ago by Mark Evenson

Milestone: 1.6.11.6.2

Ticket retargeted after milestone closed

comment:14 Changed 4 years ago by Mark Evenson

Milestone: 1.6.21.7.0

comment:15 Changed 4 years ago by Mark Evenson

Milestone: 1.7.01.7.1

Ticket retargeted after milestone closed

comment:16 Changed 4 years ago by Mark Evenson

Milestone: 1.7.11.7.2

Ticket retargeted after milestone closed

comment:17 Changed 4 years ago by Mark Evenson

Milestone: 1.7.21.8.0

Milestone renamed

comment:18 Changed 4 years ago by Mark Evenson

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.