Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2007 20:57:54 +0200
From:      Zsolt =?ISO-8859-2?Q?K=FAti?= <la.tinca@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   Re: JDK 1.5.0 patchset 7 "South China"
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Oct 2007 14:03:48 -0700
Greg Lewis <glewis@eyesbeyond.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071026205754.15950c80>