Re: class SplittableRandom

2013-07-21 Thread Doug Lea
(Catching up...) On 07/19/13 14:00, Mike Duigou wrote: Using a shared static SecureRandom.generateSeed() to generate the seed is probably the easiest way to get a good seed that is portable. I agree and updated accordingly. I have previous experience mucking in this area. Attempting to use

Re: @CallerSensitive as public API ?

2013-07-21 Thread Chris Hegarty
On 20 Jul 2013, at 16:38, Chris Hegarty wrote: > > On 20 Jul 2013, at 15:28, Nick Williams > wrote: > >> "This bug is not available." > > It can take up to 24hrs for a newly created bug to become available, please > check again later. :-( > http://bugs.sun.com/bugdatabase/view_bug.do?bug

Re: RFR [8020669] java.nio.file.Files.readAllBytes() does not read any data when Files.size() is 0

2013-07-21 Thread Chris Hegarty
[ cc'ing nio-dev ] On 20 Jul 2013, at 23:15, Ivan Gerasimov wrote: > Roger, David thanks for suggestions! > > Would you please take a look at an updated webrev? > http://cr.openjdk.java.net/~igerasim/8020669/1/webrev/ This looks much better to me. -Chris. > > - File size is used as an init

Re: @CallerSensitive as public API ?

2013-07-21 Thread Peter Levart
On 07/20/2013 03:41 AM, Mandy Chung wrote: Peter, FYI. I have filed this RFE: 8020968: Load resource files using the caller's class and class loader http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020968 Mandy Hi Mandy, I wonder what API you had in mind. Currently we have ClassLo