equal
deleted
inserted
replaced
88 if (!testImplementationDetails) return; |
88 if (!testImplementationDetails) return; |
89 |
89 |
90 ThreadLocalRandom rnd = ThreadLocalRandom.current(); |
90 ThreadLocalRandom rnd = ThreadLocalRandom.current(); |
91 final java.lang.reflect.Method m; |
91 final java.lang.reflect.Method m; |
92 try { |
92 try { |
93 m = ThreadLocalRandom.class.getDeclaredMethod( |
93 m = ThreadLocalRandom.class.getDeclaredMethod("next", int.class); |
94 "next", new Class[] { int.class }); |
|
95 m.setAccessible(true); |
94 m.setAccessible(true); |
96 } catch (SecurityException acceptable) { |
95 } catch (SecurityException acceptable) { |
97 // Security manager may deny access |
96 // Security manager may deny access |
98 return; |
97 return; |
99 } catch (Exception ex) { |
98 } catch (Exception ex) { |