Package: libgcj10
Version: 4.4.2-3
Severity: normal

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();
                }
        }
}
***************

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559967


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.30-2-powerpc
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgcj10 depends on:
ii  gcj-4.4-base           4.4.2-3           The GNU Compiler Collection (gcj b
ii  libasound2             1.0.21a-1         shared library for ALSA applicatio
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libgcj-common          1:4.4.1-1         Java runtime library (common files
ii  libgmp3c2              2:4.3.1+dfsg-3    Multiprecision arithmetic library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages libgcj10 recommends:
ii  gcj-4.4-jre-lib               4.4.2-3    Java runtime library for use with 

Versions of packages libgcj10 suggests:
pn  libgcj10-awt                  <none>     (no description available)
pn  libgcj10-dbg                  <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to