Ant example project not working

35 views
Skip to first unread message

Stephen Palmer

unread,
Feb 1, 2022, 6:17:38 AMFeb 1
to PIT Users
I am new to PIT.
I tried out the example Ant project as described at the bottom of https://pitest.org/quickstart/ant/ but get the following error when executing ant pit

java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @75329a49

   [pitest] at ... 

   [pitest] at org.pitest.reloc.xstream.core.util.Fields.locate(Fields.java:39)

   [pitest] at org.pitest.reloc.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)

 Is this a known problem? Or due to out of date libraries, etc?

Reply all
Reply to author
Forward
0 new messages