Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BZ-1175126] backport Lockless AbstractIoFuture implementation #79

Merged
merged 1 commit into from Mar 4, 2015

Conversation

elguardian
Copy link

No description provided.

@SuppressWarnings("unchecked")
private final AtomicReference<State<T>> stateRef = new AtomicReference<State<T>>((State<T>) ST_INITIAL);

private static final State<?> ST_INITIAL = new InitialState();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raw type being used here; new InitialState<Object>() should be fine.

@dmlloyd
Copy link
Member

dmlloyd commented Mar 3, 2015

Otherwise looks OK

dmlloyd added a commit that referenced this pull request Mar 4, 2015
[BZ-1175126] backport Lockless AbstractIoFuture implementation
@dmlloyd dmlloyd merged commit b8c270a into xnio:3.0 Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants