rmannibucau edited a comment on pull request #73: URL: https://github.com/apache/johnzon/pull/73#issuecomment-761825387
@reta tested with master (plain master, not patched) and it works well on java 16 so guess you went into a particular case where we try to do reflection on jdk classes (java.util.ArrayList.size it seems) which is something we can avoid with a "if known() then do something clever" earlier in introspection process so I think we don't need to do anything about setAccessible but rather we should fix the cause of this arraylist introspection (maybe hashmap too). Any way to write a reproducer test? edit: can be interesting to have the frame before `.Mapper.writeObject` since for a list it shouldnt enter in this method but writeCollection or friends. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
