From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12328 invoked by alias); 7 Jun 2009 18:32:22 -0000 Received: (qmail 12312 invoked by uid 22791); 7 Jun 2009 18:32:20 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.160) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 07 Jun 2009 18:32:14 +0000 X-RZG-AUTH: :PH8kcEu7frH/iS35MfCwlb7f0DWuyUPE2aUoqiantQ3r9jye7Q== X-RZG-CLASS-ID: mo00 Received: from [10.0.1.199] (e178210154.adsl.alicedsl.de [85.178.210.154]) by post.strato.de (fruni mo7) (RZmta 18.38) with AES128-SHA encrypted ESMTP id 6061b1l57HV5yv for ; Sun, 7 Jun 2009 20:32:10 +0200 (MEST) Message-Id: From: =?ISO-8859-1?Q?Patrick_Sch=E4fer?= To: java@gcc.gnu.org In-Reply-To: <123E4985-164D-41A0-A30C-5F8B5AAA4AA2@ekse.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: Compiling project using apache mina fails Date: Sun, 07 Jun 2009 18:32:00 -0000 References: <123E4985-164D-41A0-A30C-5F8B5AAA4AA2@ekse.de> Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00020.txt.bz2 hi andrew, thank you for looking into the stacktrace problem anyways! i have another problem running the code in gcj version 4.3.3 though. using jdk 1.5 the code runs just fine. using gcj I receive an exception when trying to access the local socket port, though the connection has been successfully established (which I can see on connected machine): java.lang.IllegalArgumentException: Bad port number: -1 at java.net.InetSocketAddress.(libgcj.9.dylib) at java.net.Socket.getLocalSocketAddress(libgcj.9.dylib) at org .apache .mina.transport.socket.nio.NioSocketSession.getLocalAddress(paa_mina) at org .apache .mina.transport.socket.nio.NioSocketSession.getLocalAddress(paa_mina) at paa.networklayer.paaClient.getSessionLocalAddress(paa_mina) is it possible that the local port number isn't stored in libgcj after connection establishment? would be great, if you had any idea what could be wrong. thank you very much Patrick