From owner-freebsd-java@FreeBSD.ORG Sun Jan 6 21:20:03 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D578816A420 for ; Sun, 6 Jan 2008 21:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C7F6513C465 for ; Sun, 6 Jan 2008 21:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m06LK2Qf055672 for ; Sun, 6 Jan 2008 21:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m06LK2g4055671; Sun, 6 Jan 2008 21:20:02 GMT (envelope-from gnats) Resent-Date: Sun, 6 Jan 2008 21:20:02 GMT Resent-Message-Id: <200801062120.m06LK2g4055671@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bernhard Froehlich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91DD816A417 for ; Sun, 6 Jan 2008 21:10:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 92C0613C43E for ; Sun, 6 Jan 2008 21:10:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m06L9vkI043213 for ; Sun, 6 Jan 2008 21:09:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m06L9vYt043212; Sun, 6 Jan 2008 21:09:57 GMT (envelope-from nobody) Message-Id: <200801062109.m06L9vYt043212@www.freebsd.org> Date: Sun, 6 Jan 2008 21:09:57 GMT From: Bernhard Froehlich To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/119397: java/jdk16: Wrong locales with patchset 3 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, 06 Jan 2008 21:20:03 -0000 >Number: 119397 >Category: java >Synopsis: java/jdk16: Wrong locales with patchset 3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 06 21:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Bernhard Froehlich >Release: FreeBSD 7.0-RC1 >Organization: >Environment: FreeBSD chii.bluelife.at 7.0-RC1 FreeBSD 7.0-RC1 #1: Sat Dec 29 12:29:16 CET 2007 decke@chii.bluelife.at:/usr/obj/usr/src/sys/GENERIC amd64 >Description: All available locales are detected and replaced at build time in work/control/build/bsd-amd64/gensrc/sun/util/LocaleDataMetaInfo.java. With JDK 1.6 and patchset 3 the result is always " ben sun/text/resources/ | arn sun/text/resources/ " and is definitely wrong. http://lists.freebsd.org/pipermail/freebsd-java/2007-December/007027.html >How-To-Repeat: Locale.getAvailableLocales() returns an String array with: "ben", "arn", "sun/text/resources/" import java.util.Locale; import sun.util.LocaleDataMetaInfo; public class LocaleDebug { public static void main(String[] args) { Locale[] locales = Locale.getAvailableLocales(); for(int i=0; i < locales.length; i++) System.out.println(locales[i]); System.out.println("sun.text.resources.FormatData -> " + LocaleDataMetaInfo.getSupportedLocaleString("sun.text.resources.FormatData")); } } >Fix: There are 2 files j2se/make/java/java/localegen.sh and j2se/make/java/java/genlocales.gmk that are responsible for detecting and generating the list of available locales. All locales are formattet in genlocales.gmk and stored in a temporary file where one line should be one locale and seperated with newlines. I have found that this does not work because '\n' is interpreted as string and not as an escape character (newline) so the format of the file is wrong and causes the error. @$(ECHO) $(subst .properties,'\n',$(Euro_Resources_properties)) > $@.tmp.euro; @$(ECHO) $(subst .java,'\n',$(Euro_Resources_java)) >> $@.tmp.euro; The second part is localegen.sh where this temporary file is read ... localelist=`$NAWK -F$1_ '{print $2}' $2 | sort` The second parameter of nawk contains a $ and is not escaped so it gets replaced by the shell and not passed thru to nawk as it was expected. My attached fix is more like a workaround because it uses sed to reformat the badly formattet tempory file of locales. Patch attached with submission follows: --- ../../j2se/make/java/java/localegen.sh.orig 2008-01-06 16:38:14.000000000 +0100 +++ ../../j2se/make/java/java/localegen.sh 2008-01-06 16:51:26.000000000 +0100 @@ -22,7 +22,7 @@ localelist= getlocalelist() { localelist="" - localelist=`$NAWK -F$1_ '{print $2}' $2 | sort` + localelist=`$SED -e 'y/ /\n/' -e 's/\\\n//g' $2 | $NAWK -F$1_ '{print \$2}' | sort` } sed_script="$SED -e \"s@^#warn .*@// -- This file was mechanically generated: Do not edit! -- //@\" " >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon Jan 7 11:07:03 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E5E116A51C for ; Mon, 7 Jan 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 71A3E13C4CC for ; Mon, 7 Jan 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m07B73TW061827 for ; Mon, 7 Jan 2008 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m07B72Cg061823 for freebsd-java@FreeBSD.org; Mon, 7 Jan 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Jan 2008 11:07:02 GMT Message-Id: <200801071107.m07B72Cg061823@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org 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, 07 Jan 2008 11:07:03 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 f java/72151 java JVM crash on 5.2.1-R o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/118956 java eclipse and netbeans break on diablo-jdk15 9 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java java.nio channel selectors should use kqueue/kevent in o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o ports/118088 java java/eclipse-devel: The path of Variable Exec= in fil o java/119063 java An unexpected error has been detected by Java Runtime o ports/119397 java java/jdk16: Wrong locales with patchset 3 13 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jan 7 14:07:59 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF40816A417; Mon, 7 Jan 2008 14:07:59 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C75E913C461; Mon, 7 Jan 2008 14:07:59 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (miwi@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m07E7xAr091355; Mon, 7 Jan 2008 14:07:59 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m07E7xoP091351; Mon, 7 Jan 2008 14:07:59 GMT (envelope-from miwi) Date: Mon, 7 Jan 2008 14:07:59 GMT Message-Id: <200801071407.m07E7xoP091351@freefall.freebsd.org> To: miwi@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/119397: java/jdk16: Wrong locales with patchset 3 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, 07 Jan 2008 14:08:00 -0000 Synopsis: java/jdk16: Wrong locales with patchset 3 Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: miwi Responsible-Changed-When: Mon Jan 7 14:07:59 UTC 2008 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=119397 From owner-freebsd-java@FreeBSD.ORG Mon Jan 7 20:38:50 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9248216A419 for ; Mon, 7 Jan 2008 20:38:50 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 1723413C447 for ; Mon, 7 Jan 2008 20:38:49 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so4363408uge.37 for ; Mon, 07 Jan 2008 12:38:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; bh=5wEEyZzml+9GCkODQDBhKMcxQqFp+ssX8+Y0FGDCRtU=; b=BxaRRy+77yR+knoW4E65EkhQptRcVckhoLzE9WE5wu6WyoDlCXeGbdti9K+jEckFReDVLSLLPOw4Td6Ph4ZKyL3TaXGBQQgym3cXJijbuq3/Ro952ZdhLpOAm/NCQcTQCkJBkFDTtvLCCM6vHfLmb2jdEiJ0TIcq6TVyqSoExeM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=AYtLTY8P2hQyN2zhwB0ftuPrAOvO7oitE0IYBCrQlI6jJ6qSeriI2Nfz8cI41krBk+NPgbZLJHgu7SAfqcB/Fu1v8pBbZC35bikKE7v7finUvCkN8KYqiWQAUk/CeWzPseY+yWRzuVPCruqu0a5pDrHE6XuOpG+eqUYzGU9iL6I= Received: by 10.66.220.17 with SMTP id s17mr174358ugg.20.1199736874439; Mon, 07 Jan 2008 12:14:34 -0800 (PST) Received: from self.rene-ladan.nl ( [77.163.174.49]) by mx.google.com with ESMTPS id 23sm73622ugf.24.2008.01.07.12.14.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Jan 2008 12:14:33 -0800 (PST) Message-ID: <47828827.5080505@gmail.com> Date: Mon, 07 Jan 2008 21:14:31 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071229) MIME-Version: 1.0 To: java@freebsd.org X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: jdks compatible with argouml? 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, 07 Jan 2008 20:38:50 -0000 Hi, while the website reports that devel/argouml (which I maintain) needs at least JDK 1.4, I've found this: FreeBSD | JDK | works? 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) 7.0-B4 | jdk16 | yes 8.0-CUR | diablo-15 | no (same problem) 8.0-CUR | jdk16 | yes This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), but maybe the people on this list can give some feedback to determine a stricter/better requirement? Thanks, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Mon Jan 7 21:37:23 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406E316A417 for ; Mon, 7 Jan 2008 21:37:23 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id D39CC13C455 for ; Mon, 7 Jan 2008 21:37:22 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m07KwF2s045565; Mon, 7 Jan 2008 12:58:15 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m07KwFUZ045564; Mon, 7 Jan 2008 12:58:15 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 7 Jan 2008 12:58:15 -0800 From: Greg Lewis To: Rene Ladan Message-ID: <20080107205815.GA45501@misty.eyesbeyond.com> References: <47828827.5080505@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47828827.5080505@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: java@freebsd.org Subject: Re: jdks compatible with argouml? 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, 07 Jan 2008 21:37:23 -0000 On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote: > Hi, > > while the website reports that devel/argouml (which I maintain) needs at least > JDK 1.4, I've found this: > > FreeBSD | JDK | works? > 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) > 7.0-B4 | jdk16 | yes > 8.0-CUR | diablo-15 | no (same problem) > 8.0-CUR | jdk16 | yes > > This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), > but maybe the people on this list can give some feedback to determine a stricter/better > requirement? Try it with jdk15 instead of diablo-jdk15. Trying jdk14 is going to be painful since it doesn't compile with the version of gcc used by 7.x. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Jan 8 00:06:50 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B583616A41B for ; Tue, 8 Jan 2008 00:06:50 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 34D9413C45D for ; Tue, 8 Jan 2008 00:06:49 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so11722488fka.11 for ; Mon, 07 Jan 2008 16:06:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=LaVeylGSYSp13M/h0c9cuXZ69QXR0RGb/ntXgLgifB4=; b=eH12ShkeMMaVRv4SSbFtWPbyC71arGpJHHoTkXMLpfQ6Ta0hfUYtJBUfJqZcdNIB+I/OUmXtsuhqxfUEOj2PBgVJUcdHLKkpWvbT5ylOR/AceJjjFHEgUnDhQIhif0V6UDPEJOMN4KJmJ/BqAjGimQwbjKDKwztRE2nTaOLpvdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=nHwzqmBEqVTGtZ4Jc0O63palGCrCMQfN+JtQU+opq4oYEMhieZANeDeOERU+2UXudaGRpFjMQxuBrKDA42v973/UPkim6Wg2A9sDomlIaPwmJ6SP2Bs6ugVD9uIMnGMuC8aaMlRieL0dDYSHbTvp0DKh4dWnLnmqeWHUkSSJXAQ= Received: by 10.82.116.15 with SMTP id o15mr95258buc.3.1199750808706; Mon, 07 Jan 2008 16:06:48 -0800 (PST) Received: from self.rene-ladan.nl ( [77.163.174.49]) by mx.google.com with ESMTPS id h1sm28852871nfh.20.2008.01.07.16.06.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Jan 2008 16:06:47 -0800 (PST) Message-ID: <4782BE95.3000801@gmail.com> Date: Tue, 08 Jan 2008 01:06:45 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071229) MIME-Version: 1.0 To: Greg Lewis References: <47828827.5080505@gmail.com> <20080107205815.GA45501@misty.eyesbeyond.com> In-Reply-To: <20080107205815.GA45501@misty.eyesbeyond.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: jdks compatible with argouml? 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, 08 Jan 2008 00:06:50 -0000 Greg Lewis schreef: > On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote: >> Hi, >> >> while the website reports that devel/argouml (which I maintain) needs at least >> JDK 1.4, I've found this: >> >> FreeBSD | JDK | works? >> 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) >> 7.0-B4 | jdk16 | yes >> 8.0-CUR | diablo-15 | no (same problem) >> 8.0-CUR | jdk16 | yes >> >> This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), >> but maybe the people on this list can give some feedback to determine a stricter/better >> requirement? > > Try it with jdk15 instead of diablo-jdk15. Trying jdk14 is going to be > painful since it doesn't compile with the version of gcc used by 7.x. > argouml runs fine with jdk15 bootstrapped with diablo-jdk15, jdk16 was also bootstrapped with diablo-jdk15. Linux emulation is the default 2.4.2, with linux_base-fc4_10 and linux-xorg-libs-6.8.2_5 installed. So FreeBSD 7.0-BETA4 + jdk15 also works. As java/jdk14 is BROKEN for FreeBSD 7+, how about testing java/linux-sun-jdk14 instead? Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Tue Jan 8 00:22:59 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FD9516A419 for ; Tue, 8 Jan 2008 00:22:59 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 01F8113C43E for ; Tue, 8 Jan 2008 00:22:58 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so4403579uge.37 for ; Mon, 07 Jan 2008 16:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=ooRcXvqS+dCUc6Seeh2+YrkaiL+RsF/M4pMM91Bwe7M=; b=prI5Ei4igpdNkj4ObL0K46pswVeO3ReziExvwhirIcRtMPPBg+5YF3yWoYWzTA+HTZDhBtM5D9aE7vlasy8elBZBy4S+xfFWY7J+BhchvyRpcauGEC44GJT+k9MH51w/cvPjlNZDfq3/Q7XU5J2e0shMyQPro1Nkt658l8iXx6o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=IjTZE/SPTl38FCYDu2eZFw5BQ8lONgoGkOlRAi36FwAOuvN91wDUCBE8zcKjTwI4mML2VPhzdXZKNmsb4GgtcM5qAH/Nj6Oh1rn/0aHVNwm0T/SLmKdEFp2WQygIp+9TH716qUPxnI2n/JsNLnrN83YuL+CMSkANSUgeQMxdZZ8= Received: by 10.66.250.18 with SMTP id x18mr341625ugh.79.1199751777693; Mon, 07 Jan 2008 16:22:57 -0800 (PST) Received: from self.rene-ladan.nl ( [77.163.174.49]) by mx.google.com with ESMTPS id l20sm228097uga.62.2008.01.07.16.22.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Jan 2008 16:22:56 -0800 (PST) Message-ID: <4782C25E.9050503@gmail.com> Date: Tue, 08 Jan 2008 01:22:54 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071229) MIME-Version: 1.0 To: Greg Lewis References: <47828827.5080505@gmail.com> <20080107205815.GA45501@misty.eyesbeyond.com> <4782BE95.3000801@gmail.com> In-Reply-To: <4782BE95.3000801@gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: jdks compatible with argouml? 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, 08 Jan 2008 00:22:59 -0000 Rene Ladan schreef: > Greg Lewis schreef: >> On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote: >>> Hi, >>> >>> while the website reports that devel/argouml (which I maintain) needs at least >>> JDK 1.4, I've found this: >>> >>> FreeBSD | JDK | works? >>> 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) >>> 7.0-B4 | jdk16 | yes >>> 8.0-CUR | diablo-15 | no (same problem) >>> 8.0-CUR | jdk16 | yes >>> >>> This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), >>> but maybe the people on this list can give some feedback to determine a stricter/better >>> requirement? >> Try it with jdk15 instead of diablo-jdk15. Trying jdk14 is going to be >> painful since it doesn't compile with the version of gcc used by 7.x. >> > argouml runs fine with jdk15 bootstrapped with diablo-jdk15, jdk16 was also bootstrapped > with diablo-jdk15. Linux emulation is the default 2.4.2, with linux_base-fc4_10 and > linux-xorg-libs-6.8.2_5 installed. > > So FreeBSD 7.0-BETA4 + jdk15 also works. > > As java/jdk14 is BROKEN for FreeBSD 7+, how about testing java/linux-sun-jdk14 instead? > I can install linux-sun-jdk14 on my box and show its version, but argouml won't start at all complaining that the default stack size (40MB ?) is too small. Changing the startup script from JAVA_VERSION="1.4+" "/usr/local/bin/java" -jar "/usr/local/share/argouml/argouml.jar" "$@" to JAVA_VERSION="1.4" "/usr/local/bin/java" -Xss160M -jar "/usr/local/share/argouml/argouml.jar" "$@" ^ | force selection of linux-sun-jdk14 (or -Xss160m) doesn't work either. > Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Tue Jan 8 10:32:44 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96A5816A417 for ; Tue, 8 Jan 2008 10:32:44 +0000 (UTC) (envelope-from apivovarov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 71B0F13C442 for ; Tue, 8 Jan 2008 10:32:44 +0000 (UTC) (envelope-from apivovarov@gmail.com) Received: by py-out-1112.google.com with SMTP id a25so11454224pyi.13 for ; Tue, 08 Jan 2008 02:32:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=92T0d+hFxe8nNz84OFJLQ69joSVSicSdjoRsgCXu9sM=; b=PuVoXRwg4MjWyhzRmvRPwrHRRlj8V+so5ENWqezmZN2iAU45/o6HgnIDx5yoUgQPqss/nFHc+XSCKipM1NFUXXQlvHcRSWGwPOgnylfYIToWRA3qCKlCriKty8vKCxure4mazw2gZb02ObslHoS4c3jKq2uLAXzx2eZP8BaYHZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=NPmu9cEWLmpXSfBWqvnahVYwex37Guh9VqZPxQnvBFuJlAJcxUe1KNAOEkluA4gHPmhJlaBKj2uFvLb2RaOgNWdkyaAurwp3XvNWb/f8yiBFEWbr5ZZvumWhv+52E2WJ4hVcDAnX3pBYpsp8MpWdD3IA21WsHRkMLjb4muIx21c= Received: by 10.35.10.13 with SMTP id n13mr25915574pyi.29.1199786662917; Tue, 08 Jan 2008 02:04:22 -0800 (PST) Received: by 10.35.110.19 with HTTP; Tue, 8 Jan 2008 02:04:22 -0800 (PST) Message-ID: <426b510c0801080204o44e5959bo3dbe070c74cdeb3b@mail.gmail.com> Date: Tue, 8 Jan 2008 13:04:22 +0300 From: "Alex Pivovarov" To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Why jdk-1.5.0 and diablo-jdk-1.5.0 does not contain sunpkcs11.jar in jre/lib/ext? 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, 08 Jan 2008 10:32:44 -0000 Hello. Could you tell me why jdk-1.5.0 and diablo-jdk-1.5.0 does not contain sunpkcs11.jar in jre/lib/ext? Or I was doing something wrong when I install them. I use default options -- the only think I uncheck is browser plugin. Thank you Alex From owner-freebsd-java@FreeBSD.ORG Fri Jan 11 23:10:04 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25F1016A41B for ; Fri, 11 Jan 2008 23:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0715313C467 for ; Fri, 11 Jan 2008 23:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0BNA3IH080850 for ; Fri, 11 Jan 2008 23:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0BNA3s2080849; Fri, 11 Jan 2008 23:10:03 GMT (envelope-from gnats) Date: Fri, 11 Jan 2008 23:10:03 GMT Message-Id: <200801112310.m0BNA3s2080849@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Harrison Grundy Cc: Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harrison Grundy List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 23:10:04 -0000 The following reply was made to PR ports/116082; it has been noted by GNATS. From: Harrison Grundy To: bug-followup@FreeBSD.org, mirya@zoc.com.ua, miwi@freebsd.org Cc: Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process Date: Sat, 12 Jan 2008 08:06:43 +0900 Was linprocfs/procfs mounted, when you tried to use jconsole? From owner-freebsd-java@FreeBSD.ORG Sat Jan 12 14:30:03 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 685FD16A420 for ; Sat, 12 Jan 2008 14:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 46E5213C45A for ; Sat, 12 Jan 2008 14:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0CEU3nL039095 for ; Sat, 12 Jan 2008 14:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0CEU3aw039092; Sat, 12 Jan 2008 14:30:03 GMT (envelope-from gnats) Date: Sat, 12 Jan 2008 14:30:03 GMT Message-Id: <200801121430.m0CEU3aw039092@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Astrodog Cc: Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Astrodog List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2008 14:30:03 -0000 The following reply was made to PR ports/116082; it has been noted by GNATS. From: Astrodog To: "Kyryll A Mirnenko aka Mirya" Cc: bug-followup@freebsd.org, miwi@freebsd.org Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process Date: Sat, 12 Jan 2008 23:21:33 +0900 On Jan 12, 2008 11:14 PM, Kyryll A Mirnenko aka Mirya wrote: > On Saturday 12 January 2008 01:06, Harrison Grundy wrote: > > Was linprocfs/procfs mounted, when you tried to use jconsole? > Yes, both are mounted > -- > Regards, Mirya > ICQ #313898202 > Does remote JMX work, either to, or from the machine? From owner-freebsd-java@FreeBSD.ORG Sat Jan 12 16:17:44 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4A9216A418 for ; Sat, 12 Jan 2008 16:17:44 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 7783013C455 for ; Sat, 12 Jan 2008 16:17:44 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m0CGHhVw082981; Sat, 12 Jan 2008 08:17:43 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m0CGHg9j082980; Sat, 12 Jan 2008 08:17:42 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 12 Jan 2008 08:17:42 -0800 From: Greg Lewis To: Alex Pivovarov Message-ID: <20080112161742.GA82863@misty.eyesbeyond.com> References: <426b510c0801080204o44e5959bo3dbe070c74cdeb3b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426b510c0801080204o44e5959bo3dbe070c74cdeb3b@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: glewis@freebsd.org, freebsd-java@freebsd.org Subject: Re: Why jdk-1.5.0 and diablo-jdk-1.5.0 does not contain sunpkcs11.jar in jre/lib/ext? 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: Sat, 12 Jan 2008 16:17:44 -0000 On Tue, Jan 08, 2008 at 01:04:22PM +0300, Alex Pivovarov wrote: > Could you tell me why jdk-1.5.0 and diablo-jdk-1.5.0 does not contain > sunpkcs11.jar in jre/lib/ext? > Or I was doing something wrong when I install them. I use default options -- > the only think I uncheck is browser plugin. Because the source code and build infrastructure aren't included for either the JAR or the native library in the source that Sun distributes(*). You could copy the included Linux/Solaris JARs over, but then you need to build the corresponding native library somehow. * - Actually, the source is there, but its bundled up and there is no build infrastructure. Thats my recollection at least. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org