-
Notifications
You must be signed in to change notification settings - Fork 344
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
Test "gov.nasa.jpf.test.java.io.ObjectStreamTest and gov.nasa.jpf.test.java.io.testSimpleReadbackOk" Fails on Java 17 #461
Comments
@cyrille-artho In |
Thanks for looking into this. It is unfortunate that the logger is needed to initialize the |
If returning |
Implemented these stuff in
But the error is same as while returning Error :
|
Thanks for adding this. As this new code fixes one part of the bigger problem, please make a pull request. I have looked at what happens next: It seems that the property JPF pre-initializes its set of properties from a configuration
So it looks like simply adding |
As this new code fixes one part of the bigger problem, please make a pull request.-> PR #467 added `native.encoding' :
New error :
|
Hi @cyrille-artho , please look into this. |
This looks strange: we don't have a model class (not to mention native peer) of |
PR #469 |
Thanks, I can reproduce the problem now. Still not sure about the cause. We don't have a model class for |
The class WeakHashMap$Entry extends java.lang.ref.WeakReference and java.lang.ref.Reference, for which we have model classes in JPF. |
The method refersTo is in the JDK variant of java.lang.ref.Reference, but not in our model class. |
I see, thanks @pparizek . |
Hi, implemented
Then we got errors like below :
Here StackTrace tells that our model class do not have I do not how our jpf treats the
And then both tests passes. |
Thanks. I think we need reference equality, not value equality, in |
Yes, it worked! PR #472 |
Great, thanks! |
@cyrille-artho
While running the
./gradlew clean test
on OpenJDK-17,gov.nasa.jpf.test.java.io.ObjectStreamTest
andgov.nasa.jpf.test.java.io.testSimpleReadbackOk
tests fails.Here is the Standard Output :
The text was updated successfully, but these errors were encountered: