Summary: | gcj's URL() does not handle ContextURL + "/redir?http://domain2.com/index.html" correctly. | ||
---|---|---|---|
Product: | gcc | Reporter: | Ken Allan <k.allan-gcc> |
Component: | libgcj | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs, java-prs |
Priority: | P2 | Keywords: | patch |
Version: | 4.0.0 | ||
Target Milestone: | 4.0.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2005-01-05 01:48:26 | |
Bug Depends on: | |||
Bug Blocks: | 16229 | ||
Attachments: | Patch against gcc/libjava/java/net/URL.java |
Description
Ken Allan
2004-02-02 01:22:12 UTC
Created attachment 5641 [details]
Patch against gcc/libjava/java/net/URL.java
This patch will rectify the problem mentioned in the bug report... it's
probably not as efficient as it could be.
Confirmed, gcj patches should be sent to gcc-patches and java-patches. Subject: Bug 13972 CVSROOT: /cvs/gcc Module name: gcc Changes by: mkoch@gcc.gnu.org 2005-01-11 20:40:11 Modified files: libjava : ChangeLog libjava/java/net: URL.java Log message: 2005-01-11 Michael Koch <konqueror@gmx.de> PR libgcj/13972 * java/net/URL.java (URL): Handle specs like "/redir?http://domain2.com/index.html" which start with a slash. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3284&r2=1.3285 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/net/URL.java.diff?cvsroot=gcc&r1=1.44&r2=1.45 Fixed on the mainline for 4.0.0. |