libgcj/231: Relative paths to .jar files on CLASSPATH do not work

bryce@albatross.co.nz bryce@albatross.co.nz
Sat May 20 01:00:00 GMT 2000


>Number:         231
>Category:       libgcj
>Synopsis:       Relative paths to .jar files on CLASSPATH do not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 20 01:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        cvs libgcj (20000520)
>Organization:
>Environment:
all
>Description:
Relative paths to .jar files are permitted by the JDK 1.2.

In libgcj, they are not recognised.

There is no simple fix for this, because gnu.gcj.runtime.VMClassLoader 
extends URLClassLoader, and file URLs do not permit relative
paths. 
>How-To-Repeat:

>Fix:
VMClassLoader probibly shouldn't extend URLClassLoader. 

Then it can implement its own, simpler and more efficient
mechanism for resolving classes and resources from CLASSPATH
entries.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list