Skip to content

Commit 81acbaa

Browse files
author
Jaroslav Bachorik
committed
ConcurrentHashMap does not work with null values
1 parent a07edff commit 81acbaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/share/classes/com/sun/btrace/BTraceRuntime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public void run() {
385385
} catch (InterruptedException ignored) {
386386
} catch (IOException ignored) {
387387
} finally {
388-
runtimes.put(className, null);
388+
runtimes.remove(className);
389389
queue.clear();
390390
specQueueManager.clear();
391391
BTraceRuntime.leave();

0 commit comments

Comments
 (0)