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 libretto community project #17044

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

Conversation

TomasMikula
Copy link
Contributor

No description provided.

@TomasMikula
Copy link
Contributor Author

Compilation failed with

[error] -- [E008] Not Found Error: /__w/dotty/dotty/community-build/community-projects/libretto/core/src/main/scala/libretto/util/atomic/package.scala:19:13 
[error] 19 |      go(ref.getOpaque())
[error]    |         ^^^^^^^^^^^^^
[error]    |value getOpaque is not a member of java.util.concurrent.atomic.AtomicReference[A]

because the getOpaque method of AtomicReference is only available since Java 9. Can the build be configured to use Java 9+?

@smarter
Copy link
Member

smarter commented Mar 5, 2023

Can the build be configured to use Java 9+?

I think @nicolasstucki looked into switching the community build to use a more recent JDK but I'm not sure what the status of that work is.

@nicolasstucki
Copy link
Contributor

I got stuck with the update because it was complicated to do on a Mac M2. The PRs are #16428 and #16427 if that helps.

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

4 participants