title: Modify Java Random with reflection
body: <p>Java reflection is powerful, I know it can SET declared fields or invoke method with new parameters.<br />
  Now can we &quot;hack&quot; the Random class like below to be &quot;true&quot; everytime?<br />
  <code>System.out.println( java.lang.Math.random() == java.lang.Math.random() );</code></p>
  <p>Math.random()</p>
  <pre><code>    public static double random() {
          return RandomNumberGeneratorHolder.randomNumberGenerator.nextDouble();}
  </code></pre>
  <p>And the nextDouble()</p>
  <pre><code>     public double nextDouble() {
          return (((long)(next(26)) &lt;&lt; 27) + next(27)) * DOUBLE_UNIT;}
  </code></pre>
  <p>And I'm stuck here, these methods don't even use any parameter to tamper with and I don't know if Java reflection can mess around inside method. Is there anyway else to get the same Math.random() every time?</p>