From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 08:58:40 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B14316A420 for ; Sun, 19 Feb 2006 08:58:40 +0000 (GMT) (envelope-from macka@kalnieciai.lt) Received: from hosting.kauneta.lt (proxy.kauneta.net [81.7.65.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1844A43D53 for ; Sun, 19 Feb 2006 08:58:37 +0000 (GMT) (envelope-from macka@kalnieciai.lt) Received: from localhost (localhost [127.0.0.1]) by hosting.kauneta.lt (Postfix) with ESMTP id 434553FDBE for ; Sun, 19 Feb 2006 10:54:30 +0200 (EET) Received: from hosting.kauneta.lt ([127.0.0.1]) by localhost (hosting.kauneta.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20557-02 for ; Sun, 19 Feb 2006 10:54:29 +0200 (EET) Received: from macka (flajus.zaidimu.dievas.lt [172.16.81.171]) by hosting.kauneta.lt (Postfix) with SMTP id 885DE3FDAD for ; Sun, 19 Feb 2006 10:54:29 +0200 (EET) Message-ID: <000601c63532$ab24f240$ab5110ac@macka> From: To: Date: Sun, 19 Feb 2006 10:58:35 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: amavisd-new at hosting.kauneta.net Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 08:58:40 -0000 hello i need to install JAVA as non root user how i can do this? From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 12:05:56 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D69A116A420 for ; Sun, 19 Feb 2006 12:05:56 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 709D743D53 for ; Sun, 19 Feb 2006 12:05:56 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so753955nzf for ; Sun, 19 Feb 2006 04:05:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QjXiyIexyj/2j10qb2APn0JOoLmTkOixceaN6k/M6sMeZZ5GZPZUCq+k5S3Ni4EXSQBELTUut1sdleOVqmQS4G1TW9eIYkpPkJJwU82FGZu1sAC7mUnHkaIHHqjyibR7bb9diCjsFvLF5A0WZ6AosLIxLu+zb6z0jgtbuXUVKK0= Received: by 10.36.32.12 with SMTP id f12mr4113750nzf; Sun, 19 Feb 2006 04:05:55 -0800 (PST) Received: by 10.36.121.19 with HTTP; Sun, 19 Feb 2006 04:05:55 -0800 (PST) Message-ID: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> Date: Sun, 19 Feb 2006 15:05:55 +0300 From: "Alex Pivovarov" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Backspace key doesn't work neither in TextField nor in JTextField X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 12:05:56 -0000 jdk-1.5.0p2_5 FreeBSD 6.1-Prerrelease #1 Problem: Backspace key doesn't work neither in TextField nor in JTextField . And other service keys like Tab, Del, Space also don't work in AWT or SWING applications. But if I use linux-sun-jdk1.5.0.06,2 - these keys work fine. From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 12:53:50 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EE3E16A420 for ; Sun, 19 Feb 2006 12:53:50 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from vs159088.vserver.de (syndrom23.de [62.75.159.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6115F43D46 for ; Sun, 19 Feb 2006 12:53:49 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from klamath.syndrom23.de ([212.204.44.203]) by vs159088.vserver.de (8.12.8/8.12.8) with ESMTP id k1JCrkea026307; Sun, 19 Feb 2006 13:53:46 +0100 Date: Sun, 19 Feb 2006 13:53:46 +0100 From: Andreas Kohn To: Alex Pivovarov References: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> In-Reply-To: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> (from apivovarov@gmail.com on Sun Feb 19 13:05:55 2006) X-Mailer: Balsa 2.3.10 Message-Id: <1140353626l.977l.0l@klamath.syndrom23.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: Backspace key doesn't work neither in TextField nor in JTextField X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 12:53:50 -0000 Hi, On 2006-02-19 13:05, Alex Pivovarov wrote: > jdk-1.5.0p2_5 > FreeBSD 6.1-Prerrelease #1 >=20 > Problem: > Backspace key doesn't work neither in TextField nor in JTextField . > And other service keys like Tab, Del, Space also don't work in AWT or > SWING applications. Unfortunately, this is just a very unhelpful "me too" message :( FreeBSD 7.0-CURRENT #31: Mon Feb 13 18:37:20 CET 2006 java version "1.5.0-p2" Java(TM) 2 Runtime Environment, Standard Edition (build =20 1.5.0-p2-root_11_feb_2006_00_56) Java HotSpot(TM) Client VM (build 1.5.0-p2-root_11_feb_2006_00_56, =20 mixed mode) I observe the behaviour for example in the webchat applet of =20 http://www.euirc.net. In that applet, I'm not even able to use "enter" =20 to send a message. Backspace and the other keys DO work in Eclipse (3.1.2). Regards, -- Andreas From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 19:38:50 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 932C516A422 for ; Sun, 19 Feb 2006 19:38:50 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AA5643D49 for ; Sun, 19 Feb 2006 19:38:49 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: by zproxy.gmail.com with SMTP id m7so805918nzf for ; Sun, 19 Feb 2006 11:38:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ss7x5hLpm6CPEPu/ZglrdAKxjvJj3gQHc3I/mXamqJlXQoIrpFP0QoGc4Pg386BSV8bVoDvJ3knS3QG/Mp701nqgWOMKng9b2DUU2WfyLyDT4TAy1COiQid0QNIuEud5Jz0i/1yS7bMrN93tpjqmt73J635vwr/MbE5RyLVHm7A= Received: by 10.36.41.4 with SMTP id o4mr1844827nzo; Sun, 19 Feb 2006 11:38:48 -0800 (PST) Received: by 10.36.121.19 with HTTP; Sun, 19 Feb 2006 11:38:48 -0800 (PST) Message-ID: <426b510c0602191138xfed0014pbbd5c073d123230f@mail.gmail.com> Date: Sun, 19 Feb 2006 22:38:48 +0300 From: "Alex Pivovarov" To: "Andreas Kohn" In-Reply-To: <1140353626l.977l.0l@klamath.syndrom23.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> <1140353626l.977l.0l@klamath.syndrom23.de> Cc: freebsd-java@freebsd.org Subject: Re: Backspace key doesn't work neither in TextField nor in JTextField X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 19:38:50 -0000 It seems that I solved the problem I deinstalled linux-sun-jdk1.4.2 and installed linux-sun-jdk1.5.0 and now native jdk1.5.0 works fine with AWT and SWING. From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 20:49:27 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9A4F16A420 for ; Sun, 19 Feb 2006 20:49:27 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AB6543D45 for ; Sun, 19 Feb 2006 20:49:27 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: by zproxy.gmail.com with SMTP id 18so811741nzp for ; Sun, 19 Feb 2006 12:49:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ylx8wDBWzl6p+xO+w7OLH/4FHJw2iVJbAgUQ88E0LWJJ5/HUCeWJ4fEoUZb+SN7ceRcEA1H5RifJNf1MccuBAih7pPH2TqBFqZw9rh+0/BJAWZGlZqHCj3JrTiOE68MndmxAsnKmZfQrma5xjQkxzhkea7IC8sNqOA9cIK7KHR8= Received: by 10.36.41.19 with SMTP id o19mr1499301nzo; Sun, 19 Feb 2006 12:49:26 -0800 (PST) Received: by 10.36.121.19 with HTTP; Sun, 19 Feb 2006 12:49:26 -0800 (PST) Message-ID: <426b510c0602191249i4f68eedq34ac5f31f96f9a3f@mail.gmail.com> Date: Sun, 19 Feb 2006 23:49:26 +0300 From: "Alex Pivovarov" To: "Andreas Kohn" In-Reply-To: <426b510c0602191138xfed0014pbbd5c073d123230f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> <1140353626l.977l.0l@klamath.syndrom23.de> <426b510c0602191138xfed0014pbbd5c073d123230f@mail.gmail.com> Cc: freebsd-java@freebsd.org Subject: Re: Backspace key doesn't work neither in TextField nor in JTextField X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 20:49:28 -0000 I get it! NumLock causes the problem. It should be off. From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 21:04:03 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3594816A420 for ; Sun, 19 Feb 2006 21:04:03 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C900943D46 for ; Sun, 19 Feb 2006 21:04:02 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so813993nzo for ; Sun, 19 Feb 2006 13:04:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Qgwd3AN24J0EPjEziJ1/FPH2ewjK7kyA6xQ2I2+a9bfz6fUSZbLkDgRzZOBZOaTjzV8rcZTxqPzaxjJi5WBHi5e2NEWVfShv1uSE8nzAreX87vcuZqccf/BSdeOn1SEc04OZb8h3wvNdKLd2c3EDzmU0y+cTVbHVZLQyCYwbSgc= Received: by 10.36.41.4 with SMTP id o4mr1919265nzo; Sun, 19 Feb 2006 13:04:02 -0800 (PST) Received: by 10.36.121.19 with HTTP; Sun, 19 Feb 2006 13:04:02 -0800 (PST) Message-ID: <426b510c0602191304m6628d394p902419ea9ae4bde3@mail.gmail.com> Date: Mon, 20 Feb 2006 00:04:02 +0300 From: "Alex Pivovarov" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: BUG: NumLock blocks servise keys in AWT / SWING applications X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 21:04:03 -0000 jdk-1.5.0p2_5 FreeBSD 6.1-Prerrelease #1 Problem: Service keys and key sequenses like Backspace, Tab, Del, Space, Alt+ , Ctrl+ ... don't work in AWT or SWING applications. Solution: The problem is caused by NumLock when it's turned on. The problem appears only in native jdk1.5.0. linux-sun-jdk1.5.0 doesn't have a problem. From owner-freebsd-java@FreeBSD.ORG Sun Feb 19 22:51:57 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C530F16A422 for ; Sun, 19 Feb 2006 22:51:57 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from vs159088.vserver.de (syndrom23.de [62.75.159.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2544A43D45 for ; Sun, 19 Feb 2006 22:51:56 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from klamath.syndrom23.de ([212.204.44.203]) by vs159088.vserver.de (8.12.8/8.12.8) with ESMTP id k1JMppXb008640; Sun, 19 Feb 2006 23:51:52 +0100 Date: Sun, 19 Feb 2006 23:51:54 +0100 From: Andreas Kohn To: Alex Pivovarov References: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> <1140353626l.977l.0l@klamath.syndrom23.de> <426b510c0602191138xfed0014pbbd5c073d123230f@mail.gmail.com> <426b510c0602191249i4f68eedq34ac5f31f96f9a3f@mail.gmail.com> In-Reply-To: <426b510c0602191249i4f68eedq34ac5f31f96f9a3f@mail.gmail.com> (from apivovarov@gmail.com on Sun Feb 19 21:49:26 2006) X-Mailer: Balsa 2.3.10 Message-Id: <1140389514l.5486l.0l@klamath.syndrom23.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: Backspace key doesn't work neither in TextField nor in JTextField X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 22:51:57 -0000 Hi! On 2006-02-19 21:49, Alex Pivovarov wrote: > I get it! > NumLock causes the problem. > It should be off. And another "me too"! Thank you so much, with a switched off numlock, =20 everything works fine again here. Regards, -- Andreas From owner-freebsd-java@FreeBSD.ORG Mon Feb 20 09:27:50 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6982616A420 for ; Mon, 20 Feb 2006 09:27:50 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mail.dc-servers.com (mail.dc-servers.com [83.243.101.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 4310E43D49 for ; Mon, 20 Feb 2006 09:27:47 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: (qmail 7941 invoked by uid 399); 20 Feb 2006 09:27:47 -0000 Received: from unknown (HELO alfie.jigsawhq.com) (work@ashleymoran.me.uk@213.106.224.113) by mail.dc-servers.com with SMTP; 20 Feb 2006 09:27:47 -0000 From: Ashley Moran Organization: Codeweavers Ltd To: "Kang Liu" Date: Mon, 20 Feb 2006 09:26:24 +0000 User-Agent: KMail/1.9.1 References: <002e01c6349a$a7b67b80$0d01a8c0@bjute007c96f00> In-Reply-To: <002e01c6349a$a7b67b80$0d01a8c0@bjute007c96f00> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602200926.24359.work@ashleymoran.me.uk> Cc: 'Niek Dekker' , delphij@delphij.net, freebsd-java@freebsd.org Subject: Re: tomcat55 startup script error? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 09:27:50 -0000 On Saturday 18 February 2006 14:50, you wrote: > > 'right' one - so the Tomcat port maintainer must be tracking STABLE or > > CURRENT (heaven forbid!). So presumably most people will have a broken > > rc script... anyone want to e-mail the maintainer? :) > > > > Ashley > > Hi, > > I'm tracking on this issue. It seems pid file (/var/run/tomcat55.pid) is a > null file, when I start tomcat55 on FreeBSD5.4. Did you get the same > result? > > > Kang Kang My tomcat55.pid file is written ok - it's only when I come to stop Tomcat the script fails. No idea why yours should be empty? Ashley From owner-freebsd-java@FreeBSD.ORG Mon Feb 20 11:02:40 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF91916A420 for ; Mon, 20 Feb 2006 11:02:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F55043D48 for ; Mon, 20 Feb 2006 11:02:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1KB2eV0083603 for ; Mon, 20 Feb 2006 11:02:40 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1KB2dpF083597 for freebsd-java@freebsd.org; Mon, 20 Feb 2006 11:02:39 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Feb 2006 11:02:39 GMT Message-Id: <200602201102.k1KB2dpF083597@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 11:02:40 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/05/19] ports/81272 java JDK 1.5 port doesn't build. f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing o [2005/09/29] java/86700 java SIGSEGV in native jdk15 o [2005/12/21] java/90743 java jdk-1.5.0p2_3 compilation failure 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem o [2005/09/02] ports/85626 java java/jdk15 compile error 3 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Feb 20 18:05:30 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A240016A423 for ; Mon, 20 Feb 2006 18:05:30 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C59243D45 for ; Mon, 20 Feb 2006 18:05:30 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id C89725641F; Tue, 21 Feb 2006 07:05:27 +1300 (NZDT) Date: Tue, 21 Feb 2006 07:05:27 +1300 From: Jonathan Chen To: Alex Pivovarov Message-ID: <20060220180527.GC64494@osiris.chen.org.nz> References: <426b510c0602190405h71ac90damd967e66e3976495e@mail.gmail.com> <1140353626l.977l.0l@klamath.syndrom23.de> <426b510c0602191138xfed0014pbbd5c073d123230f@mail.gmail.com> <426b510c0602191249i4f68eedq34ac5f31f96f9a3f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426b510c0602191249i4f68eedq34ac5f31f96f9a3f@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: Andreas Kohn , freebsd-java@freebsd.org Subject: Re: Backspace key doesn't work neither in TextField nor in JTextField X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 18:05:30 -0000 On Sun, Feb 19, 2006 at 11:49:26PM +0300, Alex Pivovarov wrote: > I get it! > NumLock causes the problem. > It should be off. It's a known problem under JDK1.5. It even has its own PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/85997 -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. From owner-freebsd-java@FreeBSD.ORG Tue Feb 21 09:45:56 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D843D16A423 for ; Tue, 21 Feb 2006 09:45:56 +0000 (GMT) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [68.165.89.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5740043D79 for ; Tue, 21 Feb 2006 09:45:55 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 23401 invoked by uid 1008); 21 Feb 2006 09:46:14 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 21 Feb 2006 09:46:14 -0000 Received: from 24.90.33.115 (SquirrelMail authenticated user kalin@el.net) by mail.el.net with HTTP; Tue, 21 Feb 2006 04:46:14 -0500 (EST) Message-ID: <57488.24.90.33.115.1140515174.squirrel@mail.el.net> Date: Tue, 21 Feb 2006 04:46:14 -0500 (EST) From: "kalin mintchev" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-java@freebsd.org Subject: eclipse looks for cairo.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalin@el.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 09:45:57 -0000 hi all... eclipse build breaks with: ===> eclipse-3.1.2 depends on shared library: cairo.2 - not found ===> Verifying install for cairo.2 in /usr/ports/graphics/cairo ===> cairo-1.0.2_1 is marked as broken: Unknown component ltverhack. *** Error code 1 Stop in /usr/ports/graphics/cairo. *** Error code 1 Stop in /usr/ports/java/eclipse. thing is i installed cairo 1.0.2 from src for firefox 1.5 a few days ago and it worked for it... so i was wondering why eclipse isn't finding it? thanks.... From owner-freebsd-java@FreeBSD.ORG Tue Feb 21 15:11:59 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A357316A420 for ; Tue, 21 Feb 2006 15:11:59 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from mta8.srv.hcvlny.cv.net (mta8.srv.hcvlny.cv.net [167.206.4.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20ACB43D67 for ; Tue, 21 Feb 2006 15:11:58 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta8.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IV10024RM7FG710@mta8.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Tue, 21 Feb 2006 10:11:40 -0500 (EST) Date: Tue, 21 Feb 2006 10:11:38 -0500 From: Kurt Miller In-reply-to: To: freebsd-java@freebsd.org Message-id: <200602211011.39387.kurt@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <43F4F22F.1060402@europe.yahoo-inc.com> <17399.20883.741021.688682@caddis.yogotech.com> User-Agent: KMail/1.9 Cc: Nate Williams , "Arne H. Juul" Subject: Re: SO_REUSEADDR should not also mean SO_REUSEPORT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 15:11:59 -0000 On Saturday 18 February 2006 3:45 pm, Arne H. Juul wrote: > On Sat, 18 Feb 2006, Nate Williams wrote: > >> Ok, thanks. I got that impression from reading some posts I found > >> while googling. There was one in particular for NetBSD that > >> discussed it in detail. Check out the Apr 2 portion of this > >> http://www.tinyurl.com/b46gq by Jan Schaumann. Also this > >> one http://tinyurl.com/9sa6a. From these posts it appears > >> that SO_REUSEPORT is needed in some cases to be compatible > >> with linux. > > > >> From the early days.... > > > > - In the Multicast constructor, the low level routine sets the > > SO_REUSEADDR option by using JSO_REUSEADDR which corresponds to a call > > to setsockopt(..SO_REUSEADDR). To make multicast sockets work in *all* > > cases on FreeBSD, we should also set SO_REUSEPORT, else in many cases > > the multicast bind will fail. > > I won't claim to know what's the best behaviour with multicast, but the > problem is that SO_REUSEPORT is always used when SO_REUSEADDR was > requested, meaning that: > > > SO_REUSEPORT allows completely duplicate bindings by multiple > > processes if they all set SO_REUSEPORT before binding the port. > > so you can have two very different java servers listening on the same > port, for example. Or the same java server started twice won't notice any > problem because the second instance will bind its server port fine, while > on all other OSes this would give a sensible error message. And so on. > This is bad. > > The reason I found this problem in the first place was from a Java program > that worked well on Linux, not at all on FreeBSD, and after much tracing > we deduced that something was enabling SO_REUSEPORT on FreeBSD, after > which finding the bad code was a simple matter of "grep", only leaving the > question of why it was there in the first place. > > If anybody figures out what's best practice for supporting multicast > applications, ask the BSD kernel people to change the kernel behaviour to > match best practice, make it possible to control SO_REUSEPORT from the > MulticastSocket class, or find some other solution that doesn't make > *other* types of java application suffer. Thanks for the explanation and also to Nate for the Multicast history. I've looked into this a bit more over the weekend and found that the network stack promotes SO_REUSEADDR to include SO_REUSEPORT for multicast addresses, so I believe that case is covered already. I ran the network jck's on the 1.5 jvm with your patch and found that SO_REUSEPORT is still needed to pass the jck's but for datagram sockets only. Could you try this patch and test it with the program you referred to above? --- ../../j2se/src/solaris/native/java/net/net_util_md.c.orig Tue Feb 21 09:56:11 2006 +++ ../../j2se/src/solaris/native/java/net/net_util_md.c Tue Feb 21 10:06:31 2006 @@ -1022,11 +1022,20 @@ } /* - * If SO_REUSEADDR option requested, unconditionally set SO_REUSEPORT. + * If SO_REUSEADDR option requested for SOCK_DGRAM, set SO_REUSEPORT also. */ if (level == SOL_SOCKET && opt == SO_REUSEADDR) { - addopt = SO_REUSEPORT; - setsockopt(fd, level, addopt, arg, len); + int sotype, arglen; + + arglen = sizeof(sotype); + if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) < 0) { + return -1; + } + + if (sotype == SOCK_DGRAM) { + addopt = SO_REUSEPORT; + setsockopt(fd, level, addopt, arg, len); + } } /* From owner-freebsd-java@FreeBSD.ORG Tue Feb 21 22:38:34 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C7E016A420; Tue, 21 Feb 2006 22:38:34 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C7443D53; Tue, 21 Feb 2006 22:38:34 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1LMcXok044965; Tue, 21 Feb 2006 22:38:33 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1LMcXS8044961; Tue, 21 Feb 2006 22:38:33 GMT (envelope-from linimon) Date: Tue, 21 Feb 2006 22:38:33 GMT From: Mark Linimon Message-Id: <200602212238.k1LMcXS8044961@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/93253: jdk 1.5 port build problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 22:38:34 -0000 Synopsis: jdk 1.5 port build problem Responsible-Changed-From-To: freebsd-i386->freebsd-java Responsible-Changed-By: linimon Responsible-Changed-When: Tue Feb 21 22:38:03 UTC 2006 Responsible-Changed-Why: Make this a ports PR and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=93253 From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 00:12:42 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB68616A422 for ; Wed, 22 Feb 2006 00:12:42 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B8CF43D45 for ; Wed, 22 Feb 2006 00:12:42 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 771CEF26C2; Tue, 21 Feb 2006 16:12:41 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87860-07; Tue, 21 Feb 2006 16:12:40 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id CED1EF1A67; Tue, 21 Feb 2006 16:12:40 -0800 (PST) From: Sean McNeil To: Kurt Miller In-Reply-To: <200602211011.39387.kurt@intricatesoftware.com> References: <43F4F22F.1060402@europe.yahoo-inc.com> <17399.20883.741021.688682@caddis.yogotech.com> <200602211011.39387.kurt@intricatesoftware.com> Content-Type: text/plain Date: Tue, 21 Feb 2006 16:12:40 -0800 Message-Id: <1140567160.87962.4.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: Nate Williams , "Arne H. Juul" , freebsd-java@freebsd.org Subject: Re: SO_REUSEADDR should not also mean SO_REUSEPORT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 00:12:42 -0000 On Tue, 2006-02-21 at 10:11 -0500, Kurt Miller wrote: > On Saturday 18 February 2006 3:45 pm, Arne H. Juul wrote: > > On Sat, 18 Feb 2006, Nate Williams wrote: > > >> Ok, thanks. I got that impression from reading some posts I found > > >> while googling. There was one in particular for NetBSD that > > >> discussed it in detail. Check out the Apr 2 portion of this > > >> http://www.tinyurl.com/b46gq by Jan Schaumann. Also this > > >> one http://tinyurl.com/9sa6a. From these posts it appears > > >> that SO_REUSEPORT is needed in some cases to be compatible > > >> with linux. > > > > > >> From the early days.... > > > > > > - In the Multicast constructor, the low level routine sets the > > > SO_REUSEADDR option by using JSO_REUSEADDR which corresponds to a call > > > to setsockopt(..SO_REUSEADDR). To make multicast sockets work in *all* > > > cases on FreeBSD, we should also set SO_REUSEPORT, else in many cases > > > the multicast bind will fail. > > > > I won't claim to know what's the best behaviour with multicast, but the > > problem is that SO_REUSEPORT is always used when SO_REUSEADDR was > > requested, meaning that: > > > > > SO_REUSEPORT allows completely duplicate bindings by multiple > > > processes if they all set SO_REUSEPORT before binding the port. > > > > so you can have two very different java servers listening on the same > > port, for example. Or the same java server started twice won't notice any > > problem because the second instance will bind its server port fine, while > > on all other OSes this would give a sensible error message. And so on. > > This is bad. > > > > The reason I found this problem in the first place was from a Java program > > that worked well on Linux, not at all on FreeBSD, and after much tracing > > we deduced that something was enabling SO_REUSEPORT on FreeBSD, after > > which finding the bad code was a simple matter of "grep", only leaving the > > question of why it was there in the first place. > > > > If anybody figures out what's best practice for supporting multicast > > applications, ask the BSD kernel people to change the kernel behaviour to > > match best practice, make it possible to control SO_REUSEPORT from the > > MulticastSocket class, or find some other solution that doesn't make > > *other* types of java application suffer. > > Thanks for the explanation and also to Nate for the Multicast > history. I've looked into this a bit more over the weekend and > found that the network stack promotes SO_REUSEADDR to include > SO_REUSEPORT for multicast addresses, so I believe that case is > covered already. I ran the network jck's on the 1.5 jvm with your > patch and found that SO_REUSEPORT is still needed to pass the jck's > but for datagram sockets only. > > Could you try this patch and test it with the program you referred > to above? > > --- ../../j2se/src/solaris/native/java/net/net_util_md.c.orig Tue Feb 21 09:56:11 2006 > +++ ../../j2se/src/solaris/native/java/net/net_util_md.c Tue Feb 21 10:06:31 2006 > @@ -1022,11 +1022,20 @@ > } > > /* > - * If SO_REUSEADDR option requested, unconditionally set SO_REUSEPORT. > + * If SO_REUSEADDR option requested for SOCK_DGRAM, set SO_REUSEPORT also. All UDP sockets? Why not just test the address to see if it is a multicast address? Shouldn't SO_REUSEPORT be set for TCP in that case as well? Sean From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 04:39:06 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 777D316A422 for ; Wed, 22 Feb 2006 04:39:06 +0000 (GMT) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [68.165.89.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id A73E443D46 for ; Wed, 22 Feb 2006 04:39:05 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 43453 invoked by uid 1008); 22 Feb 2006 04:39:30 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 22 Feb 2006 04:39:30 -0000 Received: from 68.165.89.71 (SquirrelMail authenticated user kalin@el.net) by mail.el.net with HTTP; Tue, 21 Feb 2006 23:39:30 -0500 (EST) Message-ID: <53073.68.165.89.71.1140583170.squirrel@mail.el.net> In-Reply-To: <57488.24.90.33.115.1140515174.squirrel@mail.el.net> References: <57488.24.90.33.115.1140515174.squirrel@mail.el.net> Date: Tue, 21 Feb 2006 23:39:30 -0500 (EST) From: "kalin mintchev" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-java@freebsd.org Subject: Re: eclipse looks for cairo.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalin@el.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 04:39:06 -0000 i realize that there are more important discussions here but the eclipse port is still looking for cairo.2 and apparently cairo.2 doesn't really exist.. the latest one is 1.0.2 which i installed from scratch... > > hi all... > > eclipse build breaks with: > ===> eclipse-3.1.2 depends on shared library: cairo.2 - not found > ===> Verifying install for cairo.2 in /usr/ports/graphics/cairo > ===> cairo-1.0.2_1 is marked as broken: Unknown component ltverhack. > *** Error code 1 > > Stop in /usr/ports/graphics/cairo. > *** Error code 1 > > Stop in /usr/ports/java/eclipse. > > > thing is i installed cairo 1.0.2 from src for firefox 1.5 a few days ago > and it worked for it... so i was wondering why eclipse isn't finding it? > > thanks.... > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 05:20:31 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FBEA16A422 for ; Wed, 22 Feb 2006 05:20:31 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay1.av-mx.com (relay1.av-mx.com [137.118.16.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EF0F43D49 for ; Wed, 22 Feb 2006 05:20:30 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.62] (HELO mx1.av-mx.com) by relay1.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 179520124 for freebsd-java@freebsd.org; Wed, 22 Feb 2006 00:20:29 -0500 Received: (qmail 11250 invoked from network); 22 Feb 2006 05:20:28 -0000 Received: from dsl25177.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.114.177) by 0 with SMTP; 22 Feb 2006 05:20:28 -0000 X-CLIENT-IP: 216.227.114.177 X-CLIENT-HOST: dsl25177.ywave.com Message-ID: <43FBF49A.3020703@ywave.com> Date: Tue, 21 Feb 2006 21:20:26 -0800 From: Micah User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: kalin@el.net References: <57488.24.90.33.115.1140515174.squirrel@mail.el.net> <53073.68.165.89.71.1140583170.squirrel@mail.el.net> In-Reply-To: <53073.68.165.89.71.1140583170.squirrel@mail.el.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: eclipse looks for cairo.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 05:20:31 -0000 kalin mintchev wrote: > i realize that there are more important discussions here but the eclipse > port is still looking for cairo.2 and apparently cairo.2 doesn't really > exist.. the latest one is 1.0.2 which i installed from scratch... > > >> hi all... >> >> eclipse build breaks with: >> ===> eclipse-3.1.2 depends on shared library: cairo.2 - not found >> ===> Verifying install for cairo.2 in /usr/ports/graphics/cairo >> ===> cairo-1.0.2_1 is marked as broken: Unknown component ltverhack. >> *** Error code 1 >> >> Stop in /usr/ports/graphics/cairo. >> *** Error code 1 >> >> Stop in /usr/ports/java/eclipse. >> >> >> thing is i installed cairo 1.0.2 from src for firefox 1.5 a few days ago >> and it worked for it... so i was wondering why eclipse isn't finding it? >> >> thanks.... >> kalin mintchev wrote: > i realize that there are more important discussions here but the eclipse > port is still looking for cairo.2 and apparently cairo.2 doesn't really > exist.. the latest one is 1.0.2 which i installed from scratch... > > >> hi all... >> >> eclipse build breaks with: >> ===> eclipse-3.1.2 depends on shared library: cairo.2 - not found >> ===> Verifying install for cairo.2 in /usr/ports/graphics/cairo >> ===> cairo-1.0.2_1 is marked as broken: Unknown component ltverhack. >> *** Error code 1 >> >> Stop in /usr/ports/graphics/cairo. >> *** Error code 1 >> >> Stop in /usr/ports/java/eclipse. >> >> >> thing is i installed cairo 1.0.2 from src for firefox 1.5 a few days ago >> and it worked for it... so i was wondering why eclipse isn't finding it? >> >> thanks.... >> I noticed you CC'd freebsd-java & freebsd-questions but didn't CC freebsd-eclipse@ Have you searched their archives? Tried the WITHOUT_CAIRO=yes knob? What kind of system are you trying to build this on? HTH, Micah From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 06:27:05 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C09A16A420 for ; Wed, 22 Feb 2006 06:27:05 +0000 (GMT) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [68.165.89.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 390C343D46 for ; Wed, 22 Feb 2006 06:27:04 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 60833 invoked by uid 1008); 22 Feb 2006 06:27:29 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 22 Feb 2006 06:27:29 -0000 Received: from 68.165.89.71 (SquirrelMail authenticated user kalin@el.net) by mail.el.net with HTTP; Wed, 22 Feb 2006 01:27:29 -0500 (EST) Message-ID: <53246.68.165.89.71.1140589649.squirrel@mail.el.net> In-Reply-To: <43FBF49A.3020703@ywave.com> References: <57488.24.90.33.115.1140515174.squirrel@mail.el.net> <53073.68.165.89.71.1140583170.squirrel@mail.el.net> <43FBF49A.3020703@ywave.com> Date: Wed, 22 Feb 2006 01:27:29 -0500 (EST) From: "kalin mintchev" To: "Micah" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: eclipse looks for cairo.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalin@el.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 06:27:05 -0000 > > I noticed you CC'd freebsd-java & freebsd-questions but didn't CC > freebsd-eclipse@ Have you searched their archives? Tried the > WITHOUT_CAIRO=yes knob? What kind of system are you trying to build > this on? thanks Micah.. i'm not sure if i want to exclude cairo from the build. i'm not very aware of what is it exactly - i know it's a graphic library - but i think it has to do with the graphical interface of eclipse. it was needed for firefox 1.5 too.... the system is a 2 weeks old freebsd 6.0 release. no current or stable.. as far as archives i searched google mostly and the freebsd java archives.... i'm aware of the eclipse list - just wanted to avoid subscribing to another one - i have more then 50 now - and hoping that somebody here knows about it. or on the java list... apparently the issue is not a very widely experienced one. maybe only recently the cairo 1.0.2 port was marked as broken.... thanks... > > HTH, > Micah > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 12:50:43 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D69A16A420 for ; Wed, 22 Feb 2006 12:50:43 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A370143D45 for ; Wed, 22 Feb 2006 12:50:42 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IV300A9QACHPN80@mta5.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Wed, 22 Feb 2006 07:50:42 -0500 (EST) Date: Wed, 22 Feb 2006 07:50:40 -0500 From: Kurt Miller In-reply-to: <1140567160.87962.4.camel@triton.mcneil.com> To: freebsd-java@freebsd.org Message-id: <200602220750.40662.kurt@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-6 Content-transfer-encoding: 7BIT Content-disposition: inline References: <43F4F22F.1060402@europe.yahoo-inc.com> <200602211011.39387.kurt@intricatesoftware.com> <1140567160.87962.4.camel@triton.mcneil.com> User-Agent: KMail/1.9 Cc: Nate Williams , "Arne H. Juul" Subject: Re: SO_REUSEADDR should not also mean SO_REUSEPORT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 12:50:43 -0000 On Tuesday 21 February 2006 7:12 pm, Sean McNeil wrote: > On Tue, 2006-02-21 at 10:11 -0500, Kurt Miller wrote: > > On Saturday 18 February 2006 3:45 pm, Arne H. Juul wrote: > > > On Sat, 18 Feb 2006, Nate Williams wrote: > > > >> Ok, thanks. I got that impression from reading some posts I found > > > >> while googling. There was one in particular for NetBSD that > > > >> discussed it in detail. Check out the Apr 2 portion of this > > > >> http://www.tinyurl.com/b46gq by Jan Schaumann. Also this > > > >> one http://tinyurl.com/9sa6a. From these posts it appears > > > >> that SO_REUSEPORT is needed in some cases to be compatible > > > >> with linux. > > > > > > > >> From the early days.... > > > > > > > > - In the Multicast constructor, the low level routine sets the > > > > SO_REUSEADDR option by using JSO_REUSEADDR which corresponds to a call > > > > to setsockopt(..SO_REUSEADDR). To make multicast sockets work in *all* > > > > cases on FreeBSD, we should also set SO_REUSEPORT, else in many cases > > > > the multicast bind will fail. > > > > > > I won't claim to know what's the best behaviour with multicast, but the > > > problem is that SO_REUSEPORT is always used when SO_REUSEADDR was > > > requested, meaning that: > > > > > > > SO_REUSEPORT allows completely duplicate bindings by multiple > > > > processes if they all set SO_REUSEPORT before binding the port. > > > > > > so you can have two very different java servers listening on the same > > > port, for example. Or the same java server started twice won't notice any > > > problem because the second instance will bind its server port fine, while > > > on all other OSes this would give a sensible error message. And so on. > > > This is bad. > > > > > > The reason I found this problem in the first place was from a Java program > > > that worked well on Linux, not at all on FreeBSD, and after much tracing > > > we deduced that something was enabling SO_REUSEPORT on FreeBSD, after > > > which finding the bad code was a simple matter of "grep", only leaving the > > > question of why it was there in the first place. > > > > > > If anybody figures out what's best practice for supporting multicast > > > applications, ask the BSD kernel people to change the kernel behaviour to > > > match best practice, make it possible to control SO_REUSEPORT from the > > > MulticastSocket class, or find some other solution that doesn't make > > > *other* types of java application suffer. > > > > Thanks for the explanation and also to Nate for the Multicast > > history. I've looked into this a bit more over the weekend and > > found that the network stack promotes SO_REUSEADDR to include > > SO_REUSEPORT for multicast addresses, so I believe that case is > > covered already. I ran the network jck's on the 1.5 jvm with your > > patch and found that SO_REUSEPORT is still needed to pass the jck's > > but for datagram sockets only. > > > > Could you try this patch and test it with the program you referred > > to above? > > > > --- ../../j2se/src/solaris/native/java/net/net_util_md.c.orig Tue Feb 21 09:56:11 2006 > > +++ ../../j2se/src/solaris/native/java/net/net_util_md.c Tue Feb 21 10:06:31 2006 > > @@ -1022,11 +1022,20 @@ > > } > > > > /* > > - * If SO_REUSEADDR option requested, unconditionally set SO_REUSEPORT. > > + * If SO_REUSEADDR option requested for SOCK_DGRAM, set SO_REUSEPORT also. > > All UDP sockets? It is only for datagram sockets that request SO_REUSEADDR, not all. > Why not just test the address to see if it is a > multicast address? Because the DatagramSocket ReuseAddress test fails without it (not the multicast tests). > Shouldn't SO_REUSEPORT be set for TCP in that case > as well? Humm, isn't TCP/SOCK_STREAM inherently unicast? -Kurt From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 14:52:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C390D16A423 for ; Wed, 22 Feb 2006 14:52:25 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay3.av-mx.com (relay3.av-mx.com [137.118.16.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2403043D46 for ; Wed, 22 Feb 2006 14:52:24 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.55] (HELO mx3.av-mx.com) by relay3.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 187806234 for freebsd-java@freebsd.org; Wed, 22 Feb 2006 09:52:24 -0500 Received: (qmail 11627 invoked from network); 22 Feb 2006 14:52:24 -0000 Received: from dsl25177.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.114.177) by mx3.av-mx.com with SMTP; 22 Feb 2006 14:52:24 -0000 X-CLIENT-IP: 216.227.114.177 X-CLIENT-HOST: dsl25177.ywave.com Message-ID: <43FC7AA6.7050204@ywave.com> Date: Wed, 22 Feb 2006 06:52:22 -0800 From: Micah User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: kalin@el.net References: <57488.24.90.33.115.1140515174.squirrel@mail.el.net> <53073.68.165.89.71.1140583170.squirrel@mail.el.net> <43FBF49A.3020703@ywave.com> <53246.68.165.89.71.1140589649.squirrel@mail.el.net> In-Reply-To: <53246.68.165.89.71.1140589649.squirrel@mail.el.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: eclipse looks for cairo.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 14:52:25 -0000 kalin mintchev wrote: >> I noticed you CC'd freebsd-java & freebsd-questions but didn't CC >> freebsd-eclipse@ Have you searched their archives? Tried the >> WITHOUT_CAIRO=yes knob? What kind of system are you trying to build >> this on? > > thanks Micah.. i'm not sure if i want to exclude cairo from the build. > i'm not very aware of what is it exactly - i know it's a graphic library - > but i think it has to do with the graphical interface of eclipse. it was > needed for firefox 1.5 too.... > the system is a 2 weeks old freebsd 6.0 release. no current or stable.. > as far as archives i searched google mostly and the freebsd java > archives.... i'm aware of the eclipse list - just wanted to avoid > subscribing to another one - i have more then 50 now - and hoping that > somebody here knows about it. or on the java list... > > apparently the issue is not a very widely experienced one. maybe only > recently the cairo 1.0.2 port was marked as broken.... > > thanks... According to http://www.freshports.org/graphics/cairo cairo hasn't been touched since December and cairo isn't marked broken there or in my ports tree. Try removing the cairo directory and doing a fresh cvsup of your tree to see if you've got a stale entry. HTH, Micah From owner-freebsd-java@FreeBSD.ORG Wed Feb 22 15:25:57 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A93B616A422 for ; Wed, 22 Feb 2006 15:25:57 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mail.dc-servers.com (mail.dc-servers.com [83.243.101.206]) by mx1.FreeBSD.org (Postfix) with SMTP id E70EF43D53 for ; Wed, 22 Feb 2006 15:25:56 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: (qmail 1897 invoked by uid 399); 22 Feb 2006 15:25:59 -0000 Received: from unknown (HELO alfie.jigsawhq.com) (work@ashleymoran.me.uk@213.106.224.113) by mail.dc-servers.com with SMTP; 22 Feb 2006 15:25:59 -0000 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Wed, 22 Feb 2006 15:24:35 +0000 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200602221524.35585.work@ashleymoran.me.uk> Subject: i386 java binaries causing 100% cpu on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 15:25:57 -0000 I have an Althlon 64 server running 6.0-rel in amd64 mode. I'm trying to compile JDK 1.5 on it, and I've gone about it two ways: * installing the binary package of the native JDK 1.4 created on my i386 desktop * installing emulators/linux_base and the Linux JDK 1.4 In both cases, when I run java -version, it does nothing but takes up 100% CPU. I've stress-tested the system by running an i386 version of the misc/chef port, and that runs, so the issue is not with i386 binaries in general. I'm using an Athlon64 CPU. I have recompiled the kernel with these options in make.conf (although not the world - not that it should make a difference?): CPUTYPE=athlon64, CFLAGS=-O2 -pipe, COPTFLAGS= -O -pipe It's a custom kernel but the only options I've changed are SHMMAXPGS=393216, SHMSEG=512, SHMMNI=1024, SEMMNI=512, SEMMNS=1024, SEMMNU=512, SEMMAP=1024 (for postgres). All the apparently essential options (COMPAT_43, COMPAT_IA32, COMPAT_LINUX32) are still in the kernel. linprocfs is mounted so no probs there. In short, I can't see anything wrong with my setup. does anyone have any ideas? Cheers Ashley From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 07:20:57 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B661D16A420 for ; Thu, 23 Feb 2006 07:20:57 +0000 (GMT) (envelope-from david@israelsson.org) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA2ED43D5D for ; Thu, 23 Feb 2006 07:20:54 +0000 (GMT) (envelope-from david@israelsson.org) Received: from lala.gnapp.org ([83.227.138.201] [83.227.138.201]) by mxfep01.bredband.com with ESMTP id <20060223072053.RZKW16046.mxfep01.bredband.com@lala.gnapp.org>; Thu, 23 Feb 2006 08:20:53 +0100 Received: by lala.gnapp.org (Postfix, from userid 1001) id 1083BC40F; Thu, 23 Feb 2006 08:27:39 +0100 (CET) To: freebsd-java@freebsd.org References: <200602221524.35585.work@ashleymoran.me.uk> From: David Israelsson Date: Thu, 23 Feb 2006 08:27:38 +0100 In-Reply-To: <200602221524.35585.work@ashleymoran.me.uk> (Ashley Moran's message of "Wed, 22 Feb 2006 15:24:35 +0000") Message-ID: <86bqwy7cwl.fsf@lala.gnapp.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (Social Property, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ashley Moran Subject: Re: i386 java binaries causing 100% cpu on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 07:20:57 -0000 Ashley Moran writes: > I have an Althlon 64 server running 6.0-rel in amd64 mode. I'm trying to > compile JDK 1.5 on it, and I've gone about it two ways: > > * installing the binary package of the native JDK 1.4 created on my i386 > desktop > * installing emulators/linux_base and the Linux JDK 1.4 > > In both cases, when I run java -version, it does nothing but takes up 100% > CPU. I've stress-tested the system by running an i386 version of the > misc/chef port, and that runs, so the issue is not with i386 binaries in > general. I had the same problems on amd64. In my case the problem was solved by deinstalling linux_base-8 and installing linux_base-rh-9. After that, the JDK build went fine using linux-sun-jdk-14. /David From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 09:57:48 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41D4316A420 for ; Thu, 23 Feb 2006 09:57:48 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 7577043D48 for ; Thu, 23 Feb 2006 09:57:46 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: (qmail 25784 invoked by uid 27959); 23 Feb 2006 09:57:45 -0000 Date: Thu, 23 Feb 2006 10:57:45 +0100 (CET) From: "Arne H. Juul" To: Ashley Moran In-Reply-To: <200602221524.35585.work@ashleymoran.me.uk> Message-ID: References: <200602221524.35585.work@ashleymoran.me.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: i386 java binaries causing 100% cpu on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 09:57:48 -0000 On Wed, 22 Feb 2006, Ashley Moran wrote: > I have an Althlon 64 server running 6.0-rel in amd64 mode. I'm trying to > compile JDK 1.5 on it, and I've gone about it two ways: > > * installing the binary package of the native JDK 1.4 created on my i386 > desktop > * installing emulators/linux_base and the Linux JDK 1.4 > > In both cases, when I run java -version, it does nothing but takes up 100% > CPU. I've stress-tested the system by running an i386 version of the > misc/chef port, and that runs, so the issue is not with i386 binaries in > general. this sounds like the problem I saw where the jdk tries to execute code from the data segment, and the amd64 CPU actually honors the execute protection (i386 traditionally has no notion of execute protection). I think you can use an i386 version of jdk 1.5 to bootstrap, or recompile your i386 jdk 1.4 with the patches below. > Date: Thu, 16 Feb 2006 22:39:30 +0100 > From: Arne Juul > To: freebsd-java@freebsd.org > Subject: executing data needs mprotect with PROT_EXEC > > I've been trying to run some FreeBSD4 packages > inside a jail on a FreeBSD6 / amd64 box; and I've > hit a problem with ports/jdk. > > A couple of places the VM uses an array of > integers, puts code in it, and executes it. > > This doesn't work on machines where the CPU > honors the PROT_EXEC settings; this can be > different on different machines (depending on > BIOS settings probably). > > The right fix is to call mprotect() from jdk to allow > execution of the memory in question, something like this: --- ../../hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.cpp Tue Feb 14 21:12:46 2006 +++ ../../hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.cpp Wed Feb 15 16:30:49 2006 @@ -561,6 +562,9 @@ } #else static void (*fixcw)(void) = CAST_TO_FN_PTR(void (*)(void), code_template); + + ::mprotect((void *)code_template, sizeof(code_template), + PROT_EXEC | PROT_READ | PROT_WRITE); #endif fixcw(); --- ../../hotspot/src/cpu/i486/vm/vm_version_i486.cpp Thu Sep 11 03:40:14 2003 +++ ../../hotspot/src/cpu/i486/vm/vm_version_i486.cpp Tue Feb 14 23:34:40 2006 @@ -9,6 +9,8 @@ # include "incls/_precompiled.incl" # include "incls/_vm_version_i486.cpp.incl" +#include +#include int VM_Version::_cpu; int VM_Version::_cpuFeatures; @@ -145,6 +147,10 @@ ResourceMark rm; // Making this stub must be FIRST use of assembler CodeBuffer* c = new CodeBuffer(address(stubCode), sizeof(stubCode)); + + ::mprotect((void *)stubCode, sizeof(stubCode), + PROT_EXEC | PROT_READ | PROT_WRITE); + VM_Version_StubGenerator g(c); getPsrInfo_stub = CAST_TO_FN_PTR(_getPsrInfo_stub_t, g.generate_getPsrInfo()); From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 11:37:45 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68EBD16A422 for ; Thu, 23 Feb 2006 11:37:45 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mail.dc-servers.com (mail.dc-servers.com [83.243.101.206]) by mx1.FreeBSD.org (Postfix) with SMTP id A849043D45 for ; Thu, 23 Feb 2006 11:37:44 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: (qmail 20226 invoked by uid 399); 23 Feb 2006 11:37:45 -0000 Received: from unknown (HELO alfie.jigsawhq.com) (work@ashleymoran.me.uk@213.106.224.113) by mail.dc-servers.com with SMTP; 23 Feb 2006 11:37:45 -0000 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Thu, 23 Feb 2006 11:36:24 +0000 User-Agent: KMail/1.9.1 References: <200602221524.35585.work@ashleymoran.me.uk> <86bqwy7cwl.fsf@lala.gnapp.org> In-Reply-To: <86bqwy7cwl.fsf@lala.gnapp.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200602231136.24649.work@ashleymoran.me.uk> Subject: Re: i386 java binaries causing 100% cpu on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 11:37:45 -0000 On Thursday 23 February 2006 07:27, David Israelsson wrote: > I had the same problems on amd64. =A0In my case the problem was solved > by deinstalling linux_base-8 and installing linux_base-rh-9. =A0After > that, the JDK build went fine using linux-sun-jdk-14. Cheers I've got JDK15 building on the development server now. Odd though how my=20 Sempron box works fine but the Athlon 64 chokes. Ashley From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 11:53:39 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C32316A420 for ; Thu, 23 Feb 2006 11:53:39 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mail.dc-servers.com (mail.dc-servers.com [83.243.101.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 3DC6343D49 for ; Thu, 23 Feb 2006 11:53:38 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: (qmail 11330 invoked by uid 399); 23 Feb 2006 11:53:39 -0000 Received: from unknown (HELO alfie.jigsawhq.com) (work@ashleymoran.me.uk@213.106.224.113) by mail.dc-servers.com with SMTP; 23 Feb 2006 11:53:39 -0000 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Thu, 23 Feb 2006 11:52:18 +0000 User-Agent: KMail/1.9.1 References: <200602221524.35585.work@ashleymoran.me.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602231152.18159.work@ashleymoran.me.uk> Subject: Re: i386 java binaries causing 100% cpu on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 11:53:39 -0000 On Thursday 23 February 2006 09:57, Arne H. Juul wrote: > this sounds like the problem I saw where the jdk tries to execute code > from the data segment, and the amd64 CPU actually honors the execute > protection (i386 traditionally has no notion of execute protection). Arne Do you know why this happens? Is it a bug in the way (FreeBSD and Linux) i386 binaries are compiled? > I think you can use an i386 version of jdk 1.5 to bootstrap, or > recompile your i386 jdk 1.4 with the patches below. I tried that too, which is why I thought it was bizarre. Here is my "result matrix" for java -version Athlon 64 Sempron 64 linux_base fails runs linux_base-rh-9 runs not tested FreeBSD/i386 jdk4 fails fails The FreeBSD package was actually compiled on 6-STABLE dated a few weeks after 6-REL, whereas the two amd64 machines are running 6-RELEASE. If that is not the issue, it was fubarred from the start. Ashley From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 14:44:57 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2824816A422 for ; Thu, 23 Feb 2006 14:44:56 +0000 (GMT) (envelope-from drgeorgiev@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AE7043D45 for ; Thu, 23 Feb 2006 14:44:56 +0000 (GMT) (envelope-from drgeorgiev@mail.ru) Received: from [80.72.90.70] (port=39401 helo=gg.gg) by mx3.mail.ru with esmtp id 1FCHiA-000OSe-00 for freebsd-java@freebsd.org; Thu, 23 Feb 2006 17:44:54 +0300 To: freebsd-java@freebsd.org Date: Thu, 23 Feb 2006 16:41:18 +0200 From: Georgi Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.51 (FreeBSD, build 1462) Subject: java 15 ,javax.sound no TargetDataLine X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 14:44:57 -0000 Hi , in java 15 (Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p2-root_14_feb_200 6_00_10)) i'm not able to get TargetDataLine it's works with java 1.4(Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p8-root_22_feb_2006_23_14)) and linux java 1.4 and 1.6 beta output with java1.5 interface SourceDataLine supporting 8 audio formats Exception in thread "main" java.lang.IllegalArgumentException: No line matching interface TargetDataLine is supported. at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459) at TestDataLine.main(TestDataLine.java:11) output with java1.4 ,linux java 1.4 and 1.6 interface SourceDataLine supporting 8 audio formats interface TargetDataLine supporting 72 audio formats osversion FreeBSD 6.1-PRERELEASE I'm not sure if this is only in my environment georgi From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 15:04:24 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2135C16A420 for ; Thu, 23 Feb 2006 15:04:24 +0000 (GMT) (envelope-from drgeorgiev@mail.ru) Received: from mx5.mail.ru (mx5.mail.ru [194.67.23.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8BAB43D45 for ; Thu, 23 Feb 2006 15:04:23 +0000 (GMT) (envelope-from drgeorgiev@mail.ru) Received: from [80.72.90.70] (port=51103 helo=gg.gg) by mx5.mail.ru with esmtp id 1FCI0y-000Fy0-00 for freebsd-java@freebsd.org; Thu, 23 Feb 2006 18:04:21 +0300 To: "freebsd-java@freebsd.org" Date: Thu, 23 Feb 2006 17:00:45 +0200 From: Georgi Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.51 (FreeBSD, build 1462) Subject: javax.sound X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 15:04:24 -0000 here is the code for test : import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Line; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.SourceDataLine; import javax.sound.sampled.TargetDataLine; public class TestDataLine { public static void main(String[] args) throws LineUnavailableException { SourceDataLine sdl = (SourceDataLine) AudioSystem.getLine(new Line.Info(SourceDataLine.class)); System.out.println(sdl.getLineInfo()); TargetDataLine tdl = (TargetDataLine) AudioSystem.getLine(new Line.Info(TargetDataLine.class)); System.out.println(tdl.getLineInfo()); } } From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 16:44:09 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B4FE16A420 for ; Thu, 23 Feb 2006 16:44:09 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 2EA5743D4C for ; Thu, 23 Feb 2006 16:44:06 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: (qmail 11015 invoked by uid 27959); 23 Feb 2006 16:44:05 -0000 Date: Thu, 23 Feb 2006 17:44:05 +0100 (CET) From: "Arne H. Juul" To: Kurt Miller In-Reply-To: <200602211011.39387.kurt@intricatesoftware.com> Message-ID: References: <43F4F22F.1060402@europe.yahoo-inc.com> <17399.20883.741021.688682@caddis.yogotech.com> <200602211011.39387.kurt@intricatesoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Nate Williams , freebsd-java@freebsd.org Subject: Re: SO_REUSEADDR should not also mean SO_REUSEPORT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 16:44:09 -0000 On Tue, 21 Feb 2006, Kurt Miller wrote: > Thanks for the explanation and also to Nate for the Multicast > history. I've looked into this a bit more over the weekend and > found that the network stack promotes SO_REUSEADDR to include > SO_REUSEPORT for multicast addresses, so I believe that case is > covered already. I ran the network jck's on the 1.5 jvm with your > patch and found that SO_REUSEPORT is still needed to pass the jck's > but for datagram sockets only. I guess we have to emulate Solaris to pass these, even if I think the Solaris behaviour is a bit bad. > Could you try this patch and test it with the program you referred > to above? I'll see if I can try this tomorrow; it *should* work for the applications I'm worried about since those are all using TCP sockets only. Please update the comment to say why the "bug-compatibility" is there. Something like: /* * On Solaris, SO_REUSEADDR will allow multiple datagram * sockets to bind to the same port. The network jck tests * for this "feature", so we need to emulate it by turning on * SO_REUSEPORT as well for that combination. */ - Arne H. J. From owner-freebsd-java@FreeBSD.ORG Fri Feb 24 00:47:43 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 730BB16A420 for ; Fri, 24 Feb 2006 00:47:43 +0000 (GMT) (envelope-from serge@jetbrains.com) Received: from mail.intellij.net (mail.intellij.net [213.182.181.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id A153543D45 for ; Fri, 24 Feb 2006 00:47:42 +0000 (GMT) (envelope-from serge@jetbrains.com) Received: (qmail 496 invoked by uid 89); 24 Feb 2006 00:47:40 -0000 Received: from unknown (HELO localhost) (192.168.1.15) by mail.intellij.net with SMTP; 24 Feb 2006 00:47:40 -0000 Date: Fri, 24 Feb 2006 03:47:40 +0300 From: Serge Baranov X-Mailer: The Bat! (v3.71.03) Professional Organization: JetBrains, Inc X-Priority: 3 (Normal) Message-ID: <1757973988.20060224034740@jetbrains.com> To: freebsd-java@freebsd.org. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: NullPointerException in Charset.java:493 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Serge Baranov List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 00:47:43 -0000 Hello All, The following exception is thrown when calling: Charset.availableCharsets() JDK method. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at java.nio.charset.Charset.put(Charset.java:493) at java.nio.charset.Charset.access$300(Charset.java:240) at java.nio.charset.Charset$4.run(Charset.java:529) at java.security.AccessController.doPrivileged(Native Method) at java.nio.charset.Charset.availableCharsets(Charset.java:525) It has been already discussed: http://lists.freebsd.org/mailman/htdig/freebsd-java/2005-September/004339.html but the problem still exists. Here is the test case that will reproduce the problem: import java.nio.charset.Charset; import java.util.Iterator; import java.util.Set; public class TestCase { public static void main(String[] args) { Set set = Charset.availableCharsets().keySet(); for (Iterator iterator = set.iterator(); iterator.hasNext();) { String s = (String) iterator.next(); System.out.println(s); } } } Save into TestCase.java Compile: javac TestCase.java Run: java TestCase Expected result: list of available charsets printed. Actual result: NPE is thrown at java.nio.charset.Charset.put(Charset.java:493) For some reason there is null charset returned at this point: Charset cs = (Charset)i.next(); Suggested fix: either add a null check as per Dan Cojocar reply or investigate why null appears there and fix it on the earlier stage. Fixing this bug is very important, since it breaks functionality of almost any Java application that operates charsets (like IntelliJ IDEA). System information: $ java -version java version "1.5.0-p2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p2-root_23_feb_2006_08_02) Java HotSpot(TM) Client VM (build 1.5.0-p2-root_23_feb_2006_08_02, mixed mode) 6.1-PRERELEASE i386 P.S. I'm not subscribed to this list, put my address in CC field when replying. Serge Baranov JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!" From owner-freebsd-java@FreeBSD.ORG Fri Feb 24 16:09:59 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1887016A422 for ; Fri, 24 Feb 2006 16:09:59 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from mta7.srv.hcvlny.cv.net (mta7.srv.hcvlny.cv.net [167.206.4.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA27343D86 for ; Fri, 24 Feb 2006 16:09:54 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IV7003HG8WHPQJ0@mta7.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 24 Feb 2006 11:09:54 -0500 (EST) Date: Fri, 24 Feb 2006 11:09:53 -0500 From: Kurt Miller In-reply-to: To: freebsd-java@freebsd.org Message-id: <200602241109.53318.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=windows-1251 Content-transfer-encoding: 7BIT Content-disposition: inline References: User-Agent: KMail/1.9.1 Subject: Re: java 15 ,javax.sound no TargetDataLine X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 16:09:59 -0000 Hi, This will be fixed with patchset 3 in a few weeks. -Kurt On Thursday 23 February 2006 9:41 am, Georgi wrote: > Hi , > > in java 15 (Java(TM) 2 Runtime Environment, Standard Edition (build > 1.5.0-p2-root_14_feb_200 6_00_10)) > i'm not able to get TargetDataLine it's works with java 1.4(Java(TM) 2 > Runtime Environment, Standard Edition (build > 1.4.2-p8-root_22_feb_2006_23_14)) and linux java 1.4 and 1.6 beta > > output with java1.5 > > > interface SourceDataLine supporting 8 audio formats > Exception in thread "main" java.lang.IllegalArgumentException: No line > matching interface TargetDataLine is supported. > at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459) > at TestDataLine.main(TestDataLine.java:11) > > > > output with java1.4 ,linux java 1.4 and 1.6 > > > interface SourceDataLine supporting 8 audio formats > interface TargetDataLine supporting 72 audio formats > > osversion FreeBSD 6.1-PRERELEASE > > I'm not sure if this is only in my environment > > georgi > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Fri Feb 24 16:10:10 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A78C116A420 for ; Fri, 24 Feb 2006 16:10:10 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from mta8.srv.hcvlny.cv.net (mta8.srv.hcvlny.cv.net [167.206.4.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB6843D8D for ; Fri, 24 Feb 2006 16:09:56 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta8.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IV700FMP8VSUC50@mta8.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 24 Feb 2006 11:09:29 -0500 (EST) Date: Fri, 24 Feb 2006 11:09:27 -0500 From: Kurt Miller In-reply-to: <1757973988.20060224034740@jetbrains.com> To: freebsd-java@freebsd.org, Serge Baranov Message-id: <200602241109.27845.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <1757973988.20060224034740@jetbrains.com> User-Agent: KMail/1.9.1 Cc: Subject: Re: NullPointerException in Charset.java:493 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 16:10:10 -0000 Hi, This will be fixed with patchset 3 in a few weeks. -Kurt On Thursday 23 February 2006 7:47 pm, Serge Baranov wrote: > Hello All, > > The following exception is thrown when calling: > Charset.availableCharsets() JDK method. > > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException > at java.nio.charset.Charset.put(Charset.java:493) > at java.nio.charset.Charset.access$300(Charset.java:240) > at java.nio.charset.Charset$4.run(Charset.java:529) > at java.security.AccessController.doPrivileged(Native Method) > at java.nio.charset.Charset.availableCharsets(Charset.java:525) > > It has been already discussed: > http://lists.freebsd.org/mailman/htdig/freebsd-java/2005-September/004339.html > but the problem still exists. > > Here is the test case that will reproduce the problem: > > import java.nio.charset.Charset; > import java.util.Iterator; > import java.util.Set; > > public class TestCase { > public static void main(String[] args) { > Set set = Charset.availableCharsets().keySet(); > for (Iterator iterator = set.iterator(); iterator.hasNext();) { > String s = (String) iterator.next(); > System.out.println(s); > } > } > } > > Save into TestCase.java > Compile: javac TestCase.java > Run: java TestCase > > Expected result: list of available charsets printed. > Actual result: NPE is thrown at java.nio.charset.Charset.put(Charset.java:493) > > For some reason there is null charset returned at this point: > Charset cs = (Charset)i.next(); > > Suggested fix: either add a null check as per Dan Cojocar reply or > investigate why null appears there and fix it on the earlier stage. > > Fixing this bug is very important, since it breaks functionality of > almost any Java application that operates charsets (like IntelliJ IDEA). > > System information: > > $ java -version > java version "1.5.0-p2" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p2-root_23_feb_2006_08_02) > Java HotSpot(TM) Client VM (build 1.5.0-p2-root_23_feb_2006_08_02, mixed mode) > 6.1-PRERELEASE i386 > > P.S. I'm not subscribed to this list, put my address in CC field when > replying. > > > Serge Baranov > JetBrains, Inc > http://www.jetbrains.com > "Develop with pleasure!" > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >