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 bsp to 2.1.0-M3 #1845

Merged
merged 2 commits into from
Nov 23, 2022
Merged

Update bsp to 2.1.0-M3 #1845

merged 2 commits into from
Nov 23, 2022

Conversation

lwronski
Copy link
Collaborator

@lwronski lwronski commented Nov 3, 2022

No description provided.

@tgodzik
Copy link
Contributor

tgodzik commented Nov 3, 2022

Could you make sure you are able to start it with JDK 8? Last time I tried the updated BSP would on work on older JDK. I haven't been able to find why.

@lwronski
Copy link
Collaborator Author

lwronski commented Nov 4, 2022

Could you make sure you are able to start it with JDK 8? Last time I tried the updated BSP would on work on older JDK. I haven't been able to find why.

Bsp uses jsoniter-scala which has recently dropped support for JDK 8 - https://github.com/plokhotnyuk/jsoniter-scala/pull/860/files. That's probably why you couldn't run bloop with JDK 8

@tgodzik
Copy link
Contributor

tgodzik commented Nov 4, 2022

Ach thanks! We should probably change jsoniter to an older version in BSP then. Unless we want to start dropping JDK 8 everywhere 🤔

@tgodzik
Copy link
Contributor

tgodzik commented Nov 4, 2022

Ach thanks! We should probably change jsoniter to an older version in BSP then. Unless we want to start dropping JDK 8 everywhere thinking

Or we should change BSP to using JDK 11 at the least. Can you raise an issue in BSP so that they are aware of that? I think at this point it might be fine to start dropping JDK 8, especially since Bloop isn't used as a library anywhere.

@ckipp01
Copy link
Member

ckipp01 commented Nov 7, 2022

Regarding jdk 8, did sbt not have any issues with this? sbt/sbt#6985 NM, I realize this is probably a bsp4s thing and Bloop is the only one using it.

@tgodzik
Copy link
Contributor

tgodzik commented Nov 8, 2022

@lwronski Let's revert jsoniter update in BSP for now to the last one working with JDK8, we should also be able to pin the version in scala steward for now.

@lwronski lwronski force-pushed the update-bsp branch 2 times, most recently from ed41653 to 69c4ed7 Compare November 17, 2022 11:46
@lwronski lwronski requested a review from tgodzik November 21, 2022 11:53
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

Looks good! Could you only update some of the expect tests? They don't expect the additional None. Alternatively, we could change the string representation in tests so that they don't fail with new fields.

@lwronski lwronski force-pushed the update-bsp branch 2 times, most recently from 1c99498 to c1f8ccc Compare November 22, 2022 12:38

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM!

@tgodzik tgodzik merged commit 768bd9b into scalacenter:main Nov 23, 2022
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

3 participants