Skip to content

Conversation

@JaroslavTulach
Copy link
Member

@JaroslavTulach JaroslavTulach commented May 29, 2025

Pull Request Description

Having multiple pools of Persistable instances was always needed and will be needed even more to address #13172.

Docs & Checklist

docs

  • The documentation has been updated, if necessary.
  • All code follows the
    Java,
  • Unit tests have been updated

@JaroslavTulach JaroslavTulach self-assigned this May 29, 2025
@JaroslavTulach JaroslavTulach added the CI: No changelog needed Do not require a changelog entry for this PR. label May 29, 2025
@enso-org enso-org deleted a comment from github-actions bot May 30, 2025
@github-actions
Copy link

✨ GUI Checks Results

Summary

  • 🧹 Prettier: ✅ Passed
  • 🧰 GUI Checks: ❌ Failed
  • 📚 Storybook: ❌ Failed

⚠️ Action Required: Please review the failed checks and fix them before merging.

See individual check results for more details.

@JaroslavTulach JaroslavTulach merged commit ffc746d into develop May 30, 2025
80 of 82 checks passed
@JaroslavTulach JaroslavTulach deleted the wip/jtulach/PersistancePool13172 branch May 30, 2025 12:25
mergify bot pushed a commit that referenced this pull request May 30, 2025
The usage of `--enable-preview` is causing problems when switching between frgaal and javac. JDK's compiler only allows `--enable-preview` with the latest `--target` e.g. `24`. This affects also other JDK utilities like `javadoc`. As a result I was unable to use `persistance/doc` to generate Javadoc when working on #13201.

The only reason why we are using`--enable-preview` is **usage of `_` in `switch` statements**. It is not really convincing reason for requiring preview mode. Hence this PR removes `--enable-preview` setting from `build.sbt` and changes the affected code to give the variable another name than `_`.

# Important Notes
The best solution would be for frgaal to `--enable-preview` by default (at the end the language is controlled by version of the frgaal compiler, no need for another switch) or offer some other (JDK javac unknown) option `-Denable.preview=true` to enable preview or offer an option to _disable preview_. That way it would be easier to switch between frgaal and latest JDK's `javadoc` without changing the arguments for the compilation. That's however a discussion to be held elsewhere.
mergify bot pushed a commit that referenced this pull request Jun 4, 2025
- Enhances the `JVM` class with support for extensible messages to be transferred between the two JVMs
- Addresses part of #13172
- builds upon #13201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: No changelog needed Do not require a changelog entry for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants