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

Rewrite calls to Objects.requireNonNull #93

Merged
merged 1 commit into from
Apr 29, 2016

Conversation

cushon
Copy link
Contributor

@cushon cushon commented Mar 3, 2016

requireNonNull is only available in JDK 7 and above.

Starting in JDK 9, javac uses requireNonNull for synthetic null-checks,
see: http://bugs.openjdk.java.net/browse/JDK-8074306

Fixes #75

requireNonNull is only available in JDK 7 and above.

Starting in JDK 9, javac uses requireNonNull for synthetic null-checks,
see: http://bugs.openjdk.java.net/browse/JDK-8074306

Fixes luontola#75
@ben-manes
Copy link

@orfjackal I'd really love to see this go through. It feels dirty not having error prone running :-)

@luontola luontola merged commit 2e32038 into luontola:master Apr 29, 2016
@luontola
Copy link
Owner

Thanks. Sorry for taking so long to merge it. Been busy lately.

@JakeWharton
Copy link
Contributor

I would love to get my PRs looked at as well 😀 . I ended up releasing a fork that we've been using for 3+ months: https://github.com/JakeWharton/retrolambda which drastically reduces the generated methods.

@luontola
Copy link
Owner

@JakeWharton OK. :) No promises, but I'll try to do it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants