public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug libgcj/21637] [4.1 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> @ 2005-10-05 20:05 ` pinskia at gcc dot gnu dot org 2005-10-30 23:32 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-05 20:05 UTC (permalink / raw) To: java-prs ------- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-05 20:05 ------- Moving target milestone to 4.2 since this is java bug. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.1.0 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.1 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> 2005-10-05 20:05 ` [Bug libgcj/21637] [4.1 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls pinskia at gcc dot gnu dot org @ 2005-10-30 23:32 ` pinskia at gcc dot gnu dot org 2006-01-09 20:07 ` [Bug libgcj/21637] [4.1/4.2 " tromey at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-30 23:32 UTC (permalink / raw) To: java-prs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P5 Target Milestone|4.2.0 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.1/4.2 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> 2005-10-05 20:05 ` [Bug libgcj/21637] [4.1 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls pinskia at gcc dot gnu dot org 2005-10-30 23:32 ` pinskia at gcc dot gnu dot org @ 2006-01-09 20:07 ` tromey at gcc dot gnu dot org 2006-01-10 0:07 ` [Bug libgcj/21637] [4.2 " tromey at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: tromey at gcc dot gnu dot org @ 2006-01-09 20:07 UTC (permalink / raw) To: java-prs ------- Comment #7 from tromey at gcc dot gnu dot org 2006-01-09 20:07 ------- Subject: Bug 21637 Author: tromey Date: Mon Jan 9 20:07:22 2006 New Revision: 109505 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109505 Log: PR libgcj/21637: * gnu/java/net/protocol/jar/Connection.java (getInputStream): Throw FileNotFoundException if jar entry not found. Modified: branches/gcc-4_1-branch/libjava/ChangeLog branches/gcc-4_1-branch/libjava/gnu/java/net/protocol/jar/Connection.java -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.2 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2006-01-09 20:07 ` [Bug libgcj/21637] [4.1/4.2 " tromey at gcc dot gnu dot org @ 2006-01-10 0:07 ` tromey at gcc dot gnu dot org 2006-03-01 17:39 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: tromey at gcc dot gnu dot org @ 2006-01-10 0:07 UTC (permalink / raw) To: java-prs ------- Comment #8 from tromey at gcc dot gnu dot org 2006-01-10 00:07 ------- Applied 4.0 fix to 4.1; 4.2 still unfixed. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.1/4.2 Regression] |[4.2 Regression] |URL.openStream doesn't throw|URL.openStream doesn't throw |a FileNotFoundException with|a FileNotFoundException with |some urls |some urls http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.2 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2006-01-10 0:07 ` [Bug libgcj/21637] [4.2 " tromey at gcc dot gnu dot org @ 2006-03-01 17:39 ` pinskia at gcc dot gnu dot org 2006-03-03 15:25 ` mark at gcc dot gnu dot org 2006-07-17 19:07 ` tromey at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-03-01 17:39 UTC (permalink / raw) To: java-prs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.1.0 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.2 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> ` (4 preceding siblings ...) 2006-03-01 17:39 ` pinskia at gcc dot gnu dot org @ 2006-03-03 15:25 ` mark at gcc dot gnu dot org 2006-07-17 19:07 ` tromey at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: mark at gcc dot gnu dot org @ 2006-03-03 15:25 UTC (permalink / raw) To: java-prs ------- Comment #9 from mark at gcc dot gnu dot org 2006-03-03 15:25 ------- In classpath (cvs upstream) this seems to have been solved now by: 2006-03-03 Wolfgang Baer <WBaer@gmx.de> * gnu/java/net/protocol/jar/Connection.java: (connect): Throw FileNotFoundException. (getInputStream): Remove duplicated code. But libgcj contains an override for gnu/java/net/protocol/jar/Connection.java. I haven't investigated why yet. But it would be nice if we could merge this class again after the next classpath update. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.2 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> ` (5 preceding siblings ...) 2006-03-03 15:25 ` mark at gcc dot gnu dot org @ 2006-07-17 19:07 ` tromey at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: tromey at gcc dot gnu dot org @ 2006-07-17 19:07 UTC (permalink / raw) To: java-prs ------- Comment #10 from tromey at gcc dot gnu dot org 2006-07-17 19:07 ------- Fixed everywhere. The fix for 4.2 went in on 2006-05-13 but wasn't marked with this PR number. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|4.2.0 |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] New: URL.openStream doesn't throw a FileNotFoundException with some urls @ 2005-05-17 22:43 bkonrath at redhat dot com 2005-09-27 18:11 ` [Bug libgcj/21637] [4.1 Regression] " pinskia at gcc dot gnu dot org 0 siblings, 1 reply; 8+ messages in thread From: bkonrath at redhat dot com @ 2005-05-17 22:43 UTC (permalink / raw) To: java-prs Version: gcc-java-4.0.0-5 from FC4 rawhide Test Case: import java.io.IOException; import java.io.InputStream; import java.net.URL; public class URLTest { public static void main(String[] args) throws IOException { // replace this with any jar on your system // that doesn't have /blah.txt in it. String jar = "/path/to/jar/bork.jar"; URL url = new URL("jar:file:" + jar + "!/blah.txt"); InputStream is = url.openStream(); System.out.println("InputStream: " + is); } } Result of running with gij: InputStream: null Result of running with Sun's VM: Exception in thread "main" java.io.FileNotFoundException: JAR entry blah.txt not found in /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.0.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:97) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:107) at java.net.URL.openStream(URL.java:913) at URLTest.main(URLTest.java:12) -- Summary: URL.openStream doesn't throw a FileNotFoundException with some urls Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bkonrath at redhat dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libgcj/21637] [4.1 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls 2005-05-17 22:43 [Bug libgcj/21637] New: " bkonrath at redhat dot com @ 2005-09-27 18:11 ` pinskia at gcc dot gnu dot org 0 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-27 18:11 UTC (permalink / raw) To: java-prs -- What |Removed |Added ---------------------------------------------------------------------------- Summary|URL.openStream doesn't throw|[4.1 Regression] |a FileNotFoundException with|URL.openStream doesn't throw |some urls |a FileNotFoundException with | |some urls Target Milestone|4.0.2 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21637 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-07-17 19:07 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-21637-10161@http.gcc.gnu.org/bugzilla/> 2005-10-05 20:05 ` [Bug libgcj/21637] [4.1 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls pinskia at gcc dot gnu dot org 2005-10-30 23:32 ` pinskia at gcc dot gnu dot org 2006-01-09 20:07 ` [Bug libgcj/21637] [4.1/4.2 " tromey at gcc dot gnu dot org 2006-01-10 0:07 ` [Bug libgcj/21637] [4.2 " tromey at gcc dot gnu dot org 2006-03-01 17:39 ` pinskia at gcc dot gnu dot org 2006-03-03 15:25 ` mark at gcc dot gnu dot org 2006-07-17 19:07 ` tromey at gcc dot gnu dot org 2005-05-17 22:43 [Bug libgcj/21637] New: " bkonrath at redhat dot com 2005-09-27 18:11 ` [Bug libgcj/21637] [4.1 Regression] " 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).