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

bryce@albatross.co.nz bryce@albatross.co.nz
Wed Dec 20 12:21:00 GMT 2000


>Number:         1196
>Category:       libgcj
>Synopsis:       Relative paths to .jar files on CLASSPATH do not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    green
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:17:22 PST 2000
>Closed-Date:    
>Last-Modified:  Sun Oct 15 11:40:03 PDT 2000
>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:

Formerly PR libgcj/231

Responsible-Changed-From-To: tromey->green
Responsible-Changed-By: green
Responsible-Changed-When: Sun Oct 15 11:38:07 2000
Responsible-Changed-Why:
    I'll look at this one.

From: green@cygnus.com
To: bryce@albatross.co.nz, green@cygnus.com, java-gnats@sourceware.cygnus.com,
  tromey@cygnus.com
Cc:  
Subject: Re: libgcj/231
Date: 15 Oct 2000 18:38:07 -0000

 Synopsis: Relative paths to .jar files on CLASSPATH do not work
 
 Responsible-Changed-From-To: tromey->green
 Responsible-Changed-By: green
 Responsible-Changed-When: Sun Oct 15 11:38:07 2000
 Responsible-Changed-Why:
     I'll look at this one.
 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=231&database=java
>Unformatted:




More information about the Gcc-prs mailing list