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

Allow producing JDK8 bytecode on newer JDK's #101

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

Conversation

mdedetrich
Copy link
Contributor

Still need to verify this with jardiff

@mdedetrich mdedetrich marked this pull request as draft June 18, 2023 21:35
Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

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

looks like you're still missing the --release flag for the javacOptions when building with Java 9 or later.

@mdedetrich
Copy link
Contributor Author

Thanks, completely forgot about this PR. Will check it out later

@mdedetrich mdedetrich force-pushed the allow-producing-jdk8-bytecode-newer-jdks branch 3 times, most recently from 244571f to fde7819 Compare February 9, 2024 22:35
@mdedetrich mdedetrich force-pushed the allow-producing-jdk8-bytecode-newer-jdks branch from fde7819 to e99c01a Compare February 9, 2024 22:36
Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

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

one small suggestion, otherwise LGTM - is there a reason this PR is still in 'Draft' mode?

@@ -79,6 +79,13 @@ object Common extends AutoPlugin {
"-Wconf:msg=unused import:silent",
"-Wconf:cat=feature:silent")),
Compile / console / scalacOptions ~= (_.filterNot(consoleDisabledOptions.contains)),
// restrict to 'compile' scope because otherwise it is also passed to
// javadoc and -target is not valid there.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// javadoc and -target is not valid there.
// javadoc and --release is not valid there.

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.

2 participants