njit-jerse / specimin

SPECIfication MINimizer. A different kind of slicer for Java.
MIT License
3 stars 5 forks source link

Address the limitation of JavaParser #228

Closed LoiNguyenCS closed 6 months ago

LoiNguyenCS commented 6 months ago

Professor,

This PR fixes one of the crashes in #221.

I can not figure out the specific case where JavaParser will fail if there are generic types, hence the word "sometimes" in the explanatory comments. It seems to be that we need to have a generic type with generic bound or something similar for JavaParser to fail.

Right now this limitation of JavaParser only affect the jar mode, so it is not too serious.

Please take a look. Thank you. "