Skip to content
Snippets Groups Projects
Commit 82c68c78 authored by scott snyder's avatar scott snyder
Browse files

Simplify varhandle initialization for handles that are possibly ignored.

If a varhandle is used, we must call initialize on it; if it is not used,
the key must be cleared.  Combine these by extending initialize() to take
a flag.  If true, we proceed as usual; if false, we clear the key and
return success without doing anything else.

Also some small cleanups to tests.



Former-commit-id: 26c52313
parent f516686f
No related branches found
No related tags found
Loading
Showing
with 211 additions and 176 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment