public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/14372] New: MIRANDA bug in java.net.URLConnection
@ 2004-03-01 20:49 konqueror at gmx dot de
  2004-03-01 20:51 ` [Bug java/14372] " konqueror at gmx dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: konqueror at gmx dot de @ 2004-03-01 20:49 UTC (permalink / raw)
  To: gcc-bugs

I think I found another instance of the Miranda bug. With the attached patch  
applied to gcc trunk CVS and executing the attached testcase app the wrong  
"String getHeaderField(int index)" (the one in java.net.URLConnection) method  
gets called, instead of the one in gnu.java.net.protocol.http.Connection.  
Connection is a subclass of java.net.HttpURLConnection which is a subclass of  
java.net.URLConnection. You can see that the bug occurs when the testapp  
prints a line with "BUT, WHY HERE". It was written by Rutger Ovidius  
<ovidr@users.sourceforge.net>. 
 
The patch attached applies to current 3.4.0 cvs tree too and triggers the same 
bug. The bug doesnt trigger to 3.3.3 and the patch doesnt apply to it (I 
think). The bug gets only triggered with the patch applied.

-- 
           Summary: MIRANDA bug in java.net.URLConnection
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: konqueror at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug java/14372] MIRANDA bug in java.net.URLConnection
  2004-03-01 20:49 [Bug java/14372] New: MIRANDA bug in java.net.URLConnection konqueror at gmx dot de
@ 2004-03-01 20:51 ` konqueror at gmx dot de
  2004-03-01 20:53 ` konqueror at gmx dot de
  2004-03-02 18:36 ` aph at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: konqueror at gmx dot de @ 2004-03-01 20:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From konqueror at gmx dot de  2004-03-01 20:51 -------
Created an attachment (id=5835)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5835&action=view)
Test app that triggers the problem


-- 


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


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

* [Bug java/14372] MIRANDA bug in java.net.URLConnection
  2004-03-01 20:49 [Bug java/14372] New: MIRANDA bug in java.net.URLConnection konqueror at gmx dot de
  2004-03-01 20:51 ` [Bug java/14372] " konqueror at gmx dot de
@ 2004-03-01 20:53 ` konqueror at gmx dot de
  2004-03-02 18:36 ` aph at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: konqueror at gmx dot de @ 2004-03-01 20:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From konqueror at gmx dot de  2004-03-01 20:53 -------
Created an attachment (id=5836)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5836&action=view)
Patch needed to apply to get the bug triggered


-- 


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


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

* [Bug java/14372] MIRANDA bug in java.net.URLConnection
  2004-03-01 20:49 [Bug java/14372] New: MIRANDA bug in java.net.URLConnection konqueror at gmx dot de
  2004-03-01 20:51 ` [Bug java/14372] " konqueror at gmx dot de
  2004-03-01 20:53 ` konqueror at gmx dot de
@ 2004-03-02 18:36 ` aph at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-03-02 18:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aph at gcc dot gnu dot org  2004-03-02 18:36 -------
Is there no way that you can generate a testcase for this, perhaps by lifting
some code out of java.net.URLConnection?



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aph at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-03-02 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 20:49 [Bug java/14372] New: MIRANDA bug in java.net.URLConnection konqueror at gmx dot de
2004-03-01 20:51 ` [Bug java/14372] " konqueror at gmx dot de
2004-03-01 20:53 ` konqueror at gmx dot de
2004-03-02 18:36 ` aph 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).