Name: gm110360 Date: 09/07/2004 FULL PRODUCT VERSION : java version "1.5.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63) Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode) ADDITIONAL OS VERSION INFORMATION : Linux georgm 2.6.8-gentoo-r3 #4 Tue Aug 31 13:00:14 CEST 2004 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz GenuineIntel GNU/Linux A DESCRIPTION OF THE PROBLEM : When compiling, javac opens /dev/random in read-write mode. This is not necessary - read only should do it. When running javac in a sandbox, this causes a sandbox violation. strace javac Test.java gives the following information: open("/dev/random", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EACCES (Permission denied) Could you please change the opening mode to read only? REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- any java source file ---------- END SOURCE ---------- (Incident Review ID: 301942) ====================================================================== ###@###.### 10/7/04 18:02 GMT
|