public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/9124] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
@ 2003-06-08  7:39 ` dhazeghi@yahoo.com
  2003-06-08  8:47 ` mark@klomp.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-08  7:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From dhazeghi@yahoo.com  2003-06-08 07:38 -------
Mark,

can you make small testcase for this (is there one in mauve?), or confirm whether this is still a 
problem? Thanks,

Dara


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/9124] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
  2003-06-08  7:39 ` [Bug libgcj/9124] URLClassLoader.getResource() should return canonicalized file URLs dhazeghi@yahoo.com
@ 2003-06-08  8:47 ` mark@klomp.org
  2003-06-08  8:48 ` mark@gcc.gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: mark@klomp.org @ 2003-06-08  8:47 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124



------- Additional Comments From mark@klomp.org  2003-06-08 08:47 -------
Subject: Re:  URLClassLoader.getResource() should return
	canonicalized file URLs

> can you make small testcase for this (is there one in mauve?), or confirm whether this is still a 
> problem? Thanks,

There are some test cases in
http://gcc.gnu.org/ml/java-patches/2002-q4/msg00529.html for a related
problem.

And the following is avery simple test case.

import java.net.URL;
import java.net.URLClassLoader;
 
public class T
{
        public static void main(String[] args) throws Exception
        {
                URL[] urls = new URL[1];
                urls[0] = new URL("file:.");
                URLClassLoader uc = new URLClassLoader(urls);
                System.out.println(uc.getResource("test"));
        }
}

Mkae sure to have a test file in the current directory.

It seems to be fixed on my system, but this is tricky code that works
differently on different (file)systems and is partly shared with
upstream (GNU Classpath). I will put it on my list to check carefully.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/9124] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
  2003-06-08  7:39 ` [Bug libgcj/9124] URLClassLoader.getResource() should return canonicalized file URLs dhazeghi@yahoo.com
  2003-06-08  8:47 ` mark@klomp.org
@ 2003-06-08  8:48 ` mark@gcc.gnu.org
  2003-07-24 23:02 ` [Bug libgcj/9124] [win32] " pinskia at physics dot uc dot edu
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: mark@gcc.gnu.org @ 2003-06-08  8:48 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124


mark@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned@gcc.gnu.org      |mark@gcc.gnu.org
             Status|WAITING                     |NEW


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/9124] [win32] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
                   ` (2 preceding siblings ...)
  2003-06-08  8:48 ` mark@gcc.gnu.org
@ 2003-07-24 23:02 ` pinskia at physics dot uc dot edu
  2004-02-26 16:54 ` mark at klomp dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-24 23:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|URLClassLoader.getResource()|[win32]
                   |should return canonicalized |URLClassLoader.getResource()
                   |file URLs                   |should return canonicalized
                   |                            |file URLs


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-24 23:02 -------
Looks like this is fixed at least on POSIX targets on the mainline (20030724).


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/9124] [win32] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
                   ` (3 preceding siblings ...)
  2003-07-24 23:02 ` [Bug libgcj/9124] [win32] " pinskia at physics dot uc dot edu
@ 2004-02-26 16:54 ` mark at klomp dot org
  2004-02-26 17:19 ` mark at klomp dot org
  2004-02-26 17:48 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 7+ messages in thread
From: mark at klomp dot org @ 2004-02-26 16:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mark at gcc dot gnu dot org |mark at klomp dot org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/9124] [win32] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
                   ` (4 preceding siblings ...)
  2004-02-26 16:54 ` mark at klomp dot org
@ 2004-02-26 17:19 ` mark at klomp dot org
  2004-02-26 17:48 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 7+ messages in thread
From: mark at klomp dot org @ 2004-02-26 17:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at klomp dot org  2004-02-26 17:19 -------
>From irc:

<z|away> mjw: Yes, it works for me. Running class "T" returns an absolute URL (
file:E:\dev\testswt\test )  (gcc version 3.4.0 20040131 / win32)



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/9124] [win32] URLClassLoader.getResource() should return canonicalized file URLs
       [not found] <20030102012601.9124.mark@klomp.org>
                   ` (5 preceding siblings ...)
  2004-02-26 17:19 ` mark at klomp dot org
@ 2004-02-26 17:48 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-26 17:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-26 17:48 -------
Fixed for 3.4.0 so closing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9124


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-02-26 17:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030102012601.9124.mark@klomp.org>
2003-06-08  7:39 ` [Bug libgcj/9124] URLClassLoader.getResource() should return canonicalized file URLs dhazeghi@yahoo.com
2003-06-08  8:47 ` mark@klomp.org
2003-06-08  8:48 ` mark@gcc.gnu.org
2003-07-24 23:02 ` [Bug libgcj/9124] [win32] " pinskia at physics dot uc dot edu
2004-02-26 16:54 ` mark at klomp dot org
2004-02-26 17:19 ` mark at klomp dot org
2004-02-26 17:48 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).