ucla-pls / jreduce

JReduce is a tool to reduce Java ByteCode
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Missing Class Enhancement #9

Closed akshayutture closed 3 years ago

akshayutture commented 3 years ago

Issue #4 was supposed to add an enhancement to work with missing classes. However Jreduce still crashes when given a jar file with missing classes. There seems to be no change in the output. Is there a certain option that needs to be set to work with missing classes?

Here is the Jar file https://drive.google.com/file/d/1NX-g9GqBsIf_fNGwEu3V7qZiyiqs22vk/view?usp=sharing

Here is the log

kalhauge commented 3 years ago

This seems like a typechecking error. Is this related to #8?

kalhauge commented 3 years ago

I have added an --unsafe option that allows you to ignore these warnings. It might be a temporary workaround.

akshayutture commented 3 years ago

Yes. This fixes 5/9 benchmarks completely. That is great! Now once we have deal with issue #10 we should be all good to go.