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

Default to 1.7-level bytecode in Java build #172

Merged
merged 1 commit into from Jul 8, 2020

Conversation

headius
Copy link
Contributor

@headius headius commented Jul 8, 2020

rake-compiler defaults to source level and output bytecode version 1.6, corresponding to Java 1.6.

JRuby has not supported 1.6 since the release of JRuby 9.0, five years ago, when we started requiring Java 7.

This PR updates the default versions to "1.7" level for Java 7.

All current supported versions of JRuby require Java 8, but I'm ok with using 1.7 here for any 9.0 stragglers.

@kou
Copy link
Member

kou commented Jul 8, 2020

Thanks!

tenderlove added a commit to bcrypt-ruby/bcrypt-ruby that referenced this pull request Jul 21, 2020
@headius headius deleted the default_java_7 branch July 21, 2020 18:39
tenderlove added a commit to bcrypt-ruby/bcrypt-ruby that referenced this pull request Jun 22, 2023
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.

None yet

2 participants