Skip to content

Commit 064398b

Browse files
committed
Added name for entropy thread - github #1126
1 parent d6a0dcb commit 064398b

File tree

1 file changed

+1
-1
lines changed
  • prov/src/main/java/org/bouncycastle/jcajce/provider/drbg

1 file changed

+1
-1
lines changed

prov/src/main/java/org/bouncycastle/jcajce/provider/drbg/DRBG.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public byte[] getEntropy()
456456
if (!scheduled.getAndSet(true))
457457
{
458458
// don't try to be clever here - things change in Java 11!
459-
Thread gatherer = new Thread(new EntropyGatherer(byteLength));
459+
Thread gatherer = new Thread(new EntropyGatherer(byteLength), "BC-ENTROPY-GATHERER");
460460
gatherer.setDaemon(true);
461461
gatherer.start();
462462
}

0 commit comments

Comments
 (0)