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

Update docs for -release to make it clear it accepts recent Java versions #3009

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 18, 2024

  1. Update docs for -release to make it clear it accepts recent Java ve…

    …rsions
    
    The old displayed values of `6, 7, 8, 9` are confusing for developers contemplating updating to recent Java versions like `21` - eg from https://github.com/guardian/mobile-save-for-later/pull/109/files#r1559390842 :
    
    > I was getting an error that -release:21 is not a valid compiler option when I ran the code. Looking at the docs: https://docs.scala-lang.org/overviews/compiler-options/ my understanding is that this is not supported for Java 21.
    
    That's wrong, as newer Java versions definitely are supported by the `-release` Scala compiler parameter - so it's best to clarify that!
    rtyley committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    50d11cb View commit details
    Browse the repository at this point in the history