JDK 1.5.0 patchset 7 "South China"

Zsolt Kúti la.tinca at gmail.com
Fri Oct 26 11:57:56 PDT 2007


On Wed, 24 Oct 2007 14:03:48 -0700
Greg Lewis <glewis at 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


More information about the freebsd-java mailing list