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

A Possible Solution for testSimpleReadbackOk #325

Closed
ThisTestUser opened this issue Apr 8, 2022 · 0 comments · Fixed by #326
Closed

A Possible Solution for testSimpleReadbackOk #325

ThisTestUser opened this issue Apr 8, 2022 · 0 comments · Fixed by #326

Comments

@ThisTestUser
Copy link
Contributor

ThisTestUser commented Apr 8, 2022

Currently, the test "testSimpleReadbackOk" fails in the Java 8 version of JPF. This is caused by an empty "savedProps" in sun.misc.VM. This field is set by VM.saveAndRemoveProperties(), which is only called in System.initializeSystemClass().

However, initializeSystemClass() is a private method that is called by a native library, and in my tests JPF never calls this method. A possible fix for this would be to run this method at of System.class.

Please note that this does not fix the Java 11 version of this test, but instead the Java 8 version, which some users have reported to be failing (#314).

This was referenced Apr 9, 2022
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 a pull request may close this issue.

1 participant