Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7003784

SecureRandom.nextBytes() throws ExceptionInInitializerError with -Djava.security.egd=file:filename

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The Security 6 test case
        Performance/SeedGenerator
        failed during testing of the Nightly build 6u22-rev-b00-2010-11-27 with the following Exception messages:

        Exception in thread "main" java.lang.ExceptionInInitializerError
                at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:170)
                at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
                at SeedGenerator.run(SeedGenerator.java:15)
                at SeedGenerator.main(SeedGenerator.java:28)
        Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
                at java.io.File.<init>(File.java:363)
                at sun.security.provider.SeedGenerator$URLSeedGenerator$1.run(SeedGenerator.java:438)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.security.provider.SeedGenerator$URLSeedGenerator.init(SeedGenerator.java:433)
                at sun.security.provider.SeedGenerator$URLSeedGenerator.<init>(SeedGenerator.java:423)
                at sun.security.provider.SeedGenerator.<clinit>(SeedGenerator.java:92)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coffeys Sean Coffey
                  Reporter:
                  afomin Alexander Fomin (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: