CodeShield-Security / SPDS

Efficient and Precise Pointer-Tracking Data-Flow Framework
Eclipse Public License 2.0
66 stars 12 forks source link

VectorTests fail on Java >= 9 #11

Open johspaeth opened 4 years ago

johspaeth commented 4 years ago

The VectorTest (test2, test4, test5, test6) fails on Java >= 9 with message:

java.lang.RuntimeException: Unsound results: [MustBe [s (typestate.tests.VectorTest.<typestate.tests.VectorTest: void test2()>) @ mustBeInAcceptingState(s) in state ACCEPTING]]

Running on Java 8 the tests succeed, but on Java >= 9 the tests fail. Needs further investigation. Many java.util.Collection's implementations have been changed between Java 8 and Java 9. We need to inspect the differences of the java.util.Vector implementations and their effect on Boomerang to see why those tests suddenly fail.