-
Notifications
You must be signed in to change notification settings - Fork 443
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
Document unsupport for Java 6 #498
Comments
We asked in the community and received only positives feedbacks on upgrading.
Depending on what jvm.target you choose.
We had a lot of issues with user permissions ( and still struggling on windows ), but things are easier with Java 7.
With the next release candidate we'll cover that. |
Hm, sorry I didn't contribute. My entire toolchain uses Java 6, from Scala to SBT to every plugin I use (until now). You may think anyone who uses Java 6 is dumb, and I might agree with you. Though for one reason or another, these other tools still use Java 6.
True, but only technically. Java 7 bytecode emission by scalac is experimental, and will never be fully supported. And sbt-native-packager targets Java 6 bytecode (currently, at least).
Thanks. This is particularly important since the bytecode (Java 6) will be happily be executed until it happens to hit an incompatible Java library call (Java 7). Hopefully this won't be a problem for most anyway. |
The 0.8.x branch will remain java 6 compatible and I can understand your concerns. Unfortunately we have not enough data to guide our decisions ( thanks here to all who provide feedback ). So a lot of things get reported "when it breaks", which feels like testing things live. This is a reason for the many milestone and release candidates. Having said that. A backup plan for unhappy Java 6 users might be advisable. |
Several days ago, support for Java 6 was removed.
This is somewhat surprising as scalac, scala-library, and sbt all target Java 6.
Since the Java 7+ requirement is unusual within the Scala/SBT community (at least until Scala 2.12, when it becomes Java 8), this should at least be well documented.
(FYI, my vote would be to keep Java 6 compatible, since it compiles to Java 6 bytecode anyway. The only gain is a few APIs in the JRE, which already have other workable solutions.)
The text was updated successfully, but these errors were encountered: