Opened 12 years ago

Closed 12 years ago

#263 closed defect (fixed)

loading systems from abcl-contrib fails if CLASSPATH has a component with wildcard

Reported by: Christoph Egger Owned by: Mark Evenson
Priority: major Milestone: 1.1.0
Component: abcl-contrib Version: 1.1.0-dev
Keywords: Cc: siccegge@…
Parent Tickets:

Description

java and javac will perfectly accept a wildcard in CLASSPATH like

CLASSPATH=java/lib/\*.jar javac foo.java

however abcl fails to load contribs in this case:

CLASSPATH=~/jars/\*.jar abcl --eval '(require :abcl-contrib)' --eval '(require :jna)'

jnaASDF could not load  because Error while trying to load definition for system jna from pathname jar:file:/usr/share/java/abcl-contrib-1.1.0~svn14234.jar
!/mvn/jna.asd: Bad place for a wild pathname..

while

CLASSPATH=~/jars/foo.jar:~/jars/bar.jar:~/jars/baz.jar abcl --eval '(require :abcl-contrib)' --eval '(require :jna)'

works just fine

Change History (3)

comment:1 Changed 12 years ago by Mark Evenson

Milestone: 1.1.0
Status: newassigned
Version: 1.1.0-dev

Does using `*´ in a CLASSPATH really work? With which JVMs?

comment:2 Changed 12 years ago by Mark Evenson

comment:3 Changed 12 years ago by Mark Evenson

Resolution: fixed
Status: assignedclosed

(In [14234]) Fixes #263: ABCL-CONTRIB now loads with wildcards in CLASSPATH.

Note: See TracTickets for help on using tickets.