-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Problem
I noticed, that the NonDex engine shuffles the returned data from library classes, if the corresponding class gets extended.
Reproduce
Can be reproduced by running NonDex on the following project:
url: https://github.com/FasterXML/jackson-dataformats-binary
commit hash: 7d5c54385ab8437063b8483bf229641a86cf200a
test: com.fasterxml.jackson.dataformat.avro.interop.annotations.testStringValue[Apache to Jackson with Apache schema]
run in the debug mode to get the stack trace
Stacktrace:
TEST: com.fasterxml.jackson.dataformat.avro.interop.annotations.AvroEncodeTest#testStringValue
java.base/java.lang.Thread.getStackTrace(Thread.java:1602)
java.base/edu.illinois.nondex.common.NonDex.printStackTraceIfUniqueDebugPoint(NonDex.java:165)
java.base/edu.illinois.nondex.common.NonDex.shouldExplore(NonDex.java:136)
java.base/edu.illinois.nondex.common.NonDex.getPermutation(NonDex.java:106)
java.base/edu.illinois.nondex.shuffling.ControlNondeterminism.shuffle(ControlNondeterminism.java:93)
java.base/java.lang.Class.getDeclaredFields(Class.java:2248)
org.apache.avro.reflect.ReflectData.getFields(ReflectData.java:716)
org.apache.avro.reflect.ReflectData.getCachedFields(ReflectData.java:703)
org.apache.avro.reflect.ReflectData.createSchema(ReflectData.java:601)
com.fasterxml.jackson.dataformat.avro.interop.ApacheAvroInteropUtil$7.createSchema(ApacheAvroInteropUtil.java:149)Metadata
Metadata
Assignees
Labels
No labels