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

[GR-59063] Espresso: when continuations are enabled, ensure lambdas are always serializable. #9895

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

graalvmbot
Copy link
Collaborator

Note that this does not enable the use of ObjectOutputStream with lambdas - in that case the user must still opt-in via the standard Java interface intersection syntax to make javac generate the synthetic $deserializeLambda$ method. However, in cooperation with an alternative serialization engine that doesn't depend on that synthetic method, this feature does allow transparent serialization of lambdas.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 16, 2024
@graalvmbot graalvmbot force-pushed the mchearn/GR-59063/force-lambda-serialization-on branch 2 times, most recently from 9dfd039 to 7c094ea Compare October 16, 2024 15:52
…erializable.

Note that this does not enable the use of ObjectOutputStream with lambdas - in that case the user must still opt-in via the standard Java interface intersection syntax to make javac generate the synthetic `$deserializeLambda$` method. However, in cooperation with an alternative serialization engine that doesn't depend on that synthetic method, this feature does allow transparent serialization of lambdas.
@graalvmbot graalvmbot force-pushed the mchearn/GR-59063/force-lambda-serialization-on branch from 7c094ea to 6e37d0e Compare October 17, 2024 09:32
@graalvmbot graalvmbot closed this Oct 19, 2024
@graalvmbot graalvmbot deleted the mchearn/GR-59063/force-lambda-serialization-on branch October 19, 2024 07:04
@graalvmbot graalvmbot merged commit 1df7252 into master Oct 19, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants