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

Re: Bug#559967: FTBFS [hppa]: method openConnection() in the type URL is not...



Hi,

Le mardi 08 décembre 2009 01:59:27, dann frazier a écrit :
> libxmlrpc3-java reliably fails to build on hppa:
>  
>  https://buildd.debian.org/build.php?&pkg=libxmlrpc3-java&ver=3.1.2-1&arch=
> hppa&file=log
> 
> From the most recent build attempt:
[...]
>     [javac] 30. ERROR in
>  /build/buildd-libxmlrpc3-java_3.1.2-1-hppa-Bsgr47/libxmlrpc3-java-3.1.2/cl
> ient/src/main/java/org/apache/xmlrpc/client/XmlRpcSun15HttpTransport.java
>  [javac]  (at line 62)
>     [javac] 	final URLConnection conn = prox == null ?
>  pURL.openConnection() : pURL.openConnection(prox); [javac] 	              
>                                                          ^^^^^^^^^^^^^^
>  [javac] The method openConnection() in the type URL is not applicable for
>  the arguments (Proxy) [javac] ----------
[...]

There is someting wrong here regarding gcj-4.4 :

AFAIK, on hppa there is no support for openjdk-6 so default-jdk is in fact 
gcj-4.4-jdk. This package (GCJ 4.4) is promoted as Java5 compliant (Provides: 
java5-sdk). libxmlrpc3-java source code seems ok, since openConnection(Proxy) 
method exist since Java 5 API.

But from what I've tested on paer.debian.org, GCJ-4.4 can correctly *compile* 
Java 5 source code but doesn't provide *Java 5 library*.

Is there anyone on debian-java with throughts on how to fix this ?

Cheers,
-- 
Damien Raude-Morvan - http://damien.raude-morvan.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: