szpak / gradle-pitest-plugin

Gradle plugin for PIT Mutation Testing
http://gradle-pitest-plugin.solidsoft.info/
212 stars 57 forks source link

Try with resource unkillable in Java 11 #228

Closed ketan2505 closed 3 years ago

ketan2505 commented 3 years ago

I upgraded to Java 11 and pitest now giving unkillable mutants for try with resource blocks. When I was using Java 8, it was fine. Please provide some solution to this.

szpak commented 3 years ago

This seems to be a generic behavior of PIT, maybe https://github.com/hcoles/pitest/issues/255, but most likely that one: https://github.com/hcoles/pitest/issues/766. I propose to switch the discussion there.