src/windows/classes/sun/security/provider/NativeSeedGenerator.java

Print this page

        

@@ -53,11 +53,11 @@
      * Native method to do the actual work.
      */
     private static native boolean nativeGenerateSeed(byte[] result);
 
     @Override
-    void getSeedBytes(byte[] result) {
+    public void getSeedBytes(byte[] result) {
         // fill array as a side effect
         if (nativeGenerateSeed(result) == false) {
             // should never happen if constructor check succeeds
             throw new InternalError
                             ("Unexpected CryptoAPI failure generating seed");