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

SimulationResult does not allow custom types. #11

Open
Bathtor opened this issue Feb 27, 2018 · 0 comments
Open

SimulationResult does not allow custom types. #11

Bathtor opened this issue Feb 27, 2018 · 0 comments

Comments

@Bathtor
Copy link
Contributor

Bathtor commented Feb 27, 2018

Apparently, it can happen that a value that clearly is present in the SimulationResult can not be retrieved, if it is a custom type. I assume the JVM sees those types as different if loaded by different classloaders and refuses the cast.
I don't think there is any workaround for this (except insisting custom types can be serialised), but it would probably be a good idea to document this behaviour somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant