mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-222 added failing test - map.put() throwing and NPE when putting a LongValue$$Native
This commit is contained in:
@@ -143,9 +143,8 @@ abstract class AbstractChannelReplicator implements Closeable {
|
||||
* @param selector
|
||||
* @return
|
||||
*/
|
||||
private Selector openSelector(@NotNull final Selector selector, @NotNull final
|
||||
SelectedSelectionKeySet
|
||||
selectedKeySet) {
|
||||
private Selector openSelector(@NotNull final Selector selector,
|
||||
@NotNull final SelectedSelectionKeySet selectedKeySet) {
|
||||
|
||||
|
||||
try {
|
||||
@@ -165,7 +164,6 @@ abstract class AbstractChannelReplicator implements Closeable {
|
||||
|
||||
selectedKeysField.setAccessible(true);
|
||||
publicSelectedKeysField.setAccessible(true);
|
||||
Object old = selectedKeysField.get(selector);
|
||||
|
||||
selectedKeysField.set(selector, selectedKeySet);
|
||||
publicSelectedKeysField.set(selector, selectedKeySet);
|
||||
|
||||
Reference in New Issue
Block a user