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

chore: Drop JDK 8 #32127

Merged
merged 7 commits into from
Sep 27, 2023
Merged

chore: Drop JDK 8 #32127

merged 7 commits into from
Sep 27, 2023

Conversation

patriknw
Copy link
Member

Draft because I haven't verified everything yet.

* remove java 8 home and other complicated things from the build
* move src from java-jdk9-only, scala-jdk-9, java-jdk-9
import org.junit.Test;
import org.scalatestplus.junit.JUnitSuite;

public class JavaFlowSupportCompileTest extends JUnitSuite {
Copy link
Member Author

Choose a reason for hiding this comment

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

those JDK reactive streams files were just moved, maybe with some formatting

}
def targetJdkJavacOptions(targetSystemJdk: Boolean): Seq[String] = {
if (targetSystemJdk) Nil
else Seq("--release", "11")
Copy link
Member Author

Choose a reason for hiding this comment

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

I need to verify that these -release flags work as expected. I know we had problems with them in for example akka/alpakka#2995, but that was for 8

Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

Lookin' good so far

## Support for Scala 2.12 removed

The published artifacts are targeting Scala 2.13 and Scala 3.3.

Copy link
Member Author

Choose a reason for hiding this comment

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

added note in migration guide

@patriknw
Copy link
Member Author

Seems to work. I tried publishLocal, and checked major version: 55

@patriknw patriknw marked this pull request as ready for review September 22, 2023 07:45
* compile fails with '11' is not a valid choice for '-release',
  better to fail at startup
@patriknw
Copy link
Member Author

#32128
test fail that is not looking good, but I can't see how it would have anything to do with the changes here

@patriknw
Copy link
Member Author

same in re-run, so it has to do with jdk 11 target - maybe we are doing something crazy for real

@pvlugter
Copy link
Contributor

#32128
test fail that is not looking good, but I can't see how it would have anything to do with the changes here

Looks like Scala issue: #32128 (comment)

Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

3 participants