bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/42606] New: Method java.net.URL.openConnection(java.net.P


From: debian-gcc at lists dot debian dot org
Subject: [Bug classpath/42606] New: Method java.net.URL.openConnection(java.net.Proxy) not implemented
Date: 4 Jan 2010 12:15:19 -0000

[forwarded from http://bugs.debian.org/561317]

Although GCJ claims compliance with Java 5.0 standard APIs it does not
implement method java.net.URL.openConnection(java.net.Proxy). This may not be a
big issue ordinarily but in this case it is causing FTBFS of libxmlrpc3-java.
[1]
Following is the test program that fails to compile with GCJ but compiles fine
with OpenJDK.

***************
import java.net.*;

public class Hello {
        public static void main (String args[]){
                try {
                        URL url = new URL("http://www.google.com";);
                        url.openConnection(Proxy.NO_PROXY);
                } catch (Exception e) {
                        e.printStackTrace();
                }
        }
}
***************


-- 
           Summary: Method java.net.URL.openConnection(java.net.Proxy) not
                    implemented
           Product: classpath
           Version: 0.98
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]