From owner-freebsd-java@FreeBSD.ORG Fri Oct 26 18:57:55 2007 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 F039716A417 for ; Fri, 26 Oct 2007 18:57:55 +0000 (UTC) (envelope-from la.tinca@gmail.com) Received: from mail00a.mail.t-online.hu (mail00a.mail.t-online.hu [84.2.40.5]) by mx1.freebsd.org (Postfix) with ESMTP id AF9F413C481 for ; Fri, 26 Oct 2007 18:57:55 +0000 (UTC) (envelope-from la.tinca@gmail.com) Received: from tinca (catv54035C27.pool.t-online.hu [84.3.92.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail00a.mail.t-online.hu (Postfix) with ESMTP id 8A710ACC7B for ; Fri, 26 Oct 2007 20:57:54 +0200 (CEST) Date: Fri, 26 Oct 2007 20:57:54 +0200 From: Zsolt =?ISO-8859-2?Q?K=FAti?= To: freebsd-java@freebsd.org Message-ID: <20071026205754.15950c80@tinca> In-Reply-To: <20071024210348.GA34044@misty.eyesbeyond.com> References: <20071023195511.GA27666@misty.eyesbeyond.com> <20071023170536.H25435@turing> <20071024210348.GA34044@misty.eyesbeyond.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: JDK 1.5.0 patchset 7 "South China" 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: Fri, 26 Oct 2007 18:57:56 -0000 On Wed, 24 Oct 2007 14:03:48 -0700 Greg Lewis wrote: > Nick, can you (or anyone else who can reproduce the problem) please > try running the test programme with the command line flag I suggested > previous (-Djava.security.debug=properties) and tell me what output > you see. Thanks. A friend of mine's result: $ ktrace -t n java Test $ kdump |fgrep securi 1589 java NAMI "/usr/local/jdk1.5.0/jre/lib/security/java.security" 1589 java NAMI "/usr/local/jdk1.5.0/jre/lib/security/java.security" $ ..and with truss (which is perhaps not the suggested way recently to go as it requires procfs that is not a default for "ages" ) $ truss -o test.out java Test freebsd.org/69.147.83.40 $ fgrep securit test.out stat("/usr/local/jdk1.5.0/jre/lib/security/java.security",{mode=-rw-r--r-- ,inode=478464,size=10151,blksize=4096}) = 0 (0x0) open("/usr/local/jdk1.5.0/jre/lib/security/java.security",O_RDONLY,00) = 4 (0x4) read(4,"#\n# This is the "master securit"...,8192) = 8192 (0x2000) This was on a 7 (CURRENT) box, with the freshest jdk1.5. And here is mine: ktrace -t n java Test freebsd.org/69.147.83.40 $ kdump |fgrep securi 1695 java NAMI "/usr/local/diablo-jdk1.5.0/jre/lib/security/java.security" 1695 java NAMI "/usr/local/diablo-jdk1.5.0/jre/lib/security/java.security" ...and with truss: $ truss -o test.out java Test freebsd.org/69.147.83.40 $ fgrep securit test.out This is on 6.2/diablo-1.5.0_07-b01. So it seems truss does not see it for some reason. Zsolt