sofa-bolt icon indicating copy to clipboard operation
sofa-bolt copied to clipboard

Is there a better way to support a higher version JDK in RandomSelectStrategy

Open fantow opened this issue 5 years ago • 1 comments

In JDK1.7 there is a better way to generate random numbers under multithreading.I think we can use ThreadLocalRandom instead normal Random,also we should think over lower version JDK.May I submit a PR for this feature?

fantow avatar Jul 17 '20 01:07 fantow

In JDK1.7 there is a better way to generate random numbers under multithreading.I think we can use ThreadLocalRandom instead normal Random,also we should think over lower version JDK.May I submit a PR for this feature?

Of course, welcome to submit PR to improve the code together.

dbl-x avatar Feb 07 '21 12:02 dbl-x