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

Potential Documentation Discrepancy #309

Open
marcelbaumann opened this issue Oct 14, 2024 · 1 comment
Open

Potential Documentation Discrepancy #309

marcelbaumann opened this issue Oct 14, 2024 · 1 comment

Comments

@marcelbaumann
Copy link

I am using Java records in my model. The documentation seems to have a discrepancy.

Under Java Record the documentation states the step to enable record support.

Under Eclipse Store Modules the documentation provides the list of eclipse store modules.

But the module referenced for the --add-exports java.base/jdk.internal.misc=org.eclipse.serializer.base is not part of the list of modules.

It would be great if both information are congruent.
It would also be great if the handling of Java records is described in more details.

@hg-ms
Copy link
Contributor

hg-ms commented Oct 17, 2024

The module org.eclipse.serializer.base is part of the Eclipse Serializer project that is used for serialization by Eclipse Store.
You are right, we should add a list of the serializers modules somewhere.

Regarding the usage of Java Records there is no special handling except the need to export jdk.internal.misc so that jdk.internal.misc.Unsafe can be used due to the java module system.

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

No branches or pull requests

2 participants