[Bug java/14372] New: MIRANDA bug in java.net.URLConnection

konqueror at gmx dot de gcc-bugzilla@gcc.gnu.org
Mon Mar 1 20:49:00 GMT 2004


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



More information about the Gcc-bugs mailing list